org.jboss.remoting.detection
Class Detection

java.lang.Object
  extended byorg.jboss.remoting.detection.Detection
All Implemented Interfaces:
Serializable

public class Detection
extends Object
implements Serializable

Detection is an MBean Notification that is fired by Detectors when remote servers are found or lost on the Network.

Version:
$Revision: 1.3 $
Author:
Jeff Haynie
See Also:
Serialized Form

Constructor Summary
Detection(Identity identity, InvokerLocator[] locators)
           
 
Method Summary
 boolean equals(Object obj)
           
 Identity getIdentity()
          return the jboss identity
 InvokerLocator[] getLocators()
          return the locators for the server
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Detection

public Detection(Identity identity,
                 InvokerLocator[] locators)
Method Detail

equals

public boolean equals(Object obj)

hashCode

public int hashCode()

toString

public String toString()

getIdentity

public final Identity getIdentity()
return the jboss identity

Returns:

getLocators

public final InvokerLocator[] getLocators()
return the locators for the server

Returns:


Copyright © 2004 JBoss Inc. All Rights Reserved.