| java.lang.Object org.objectweb.jonas.discovery.DiscMessage org.objectweb.jonas.discovery.DiscEvent
DiscEvent | public DiscEvent(String sourceAddress, int sourcePort, String serverId)(Code) | | Parameters: sourceAddress - Parameters: sourcePort - Parameters: serverId - The serverId for this server. |
DiscEvent | public DiscEvent(String sourceAddress, int sourcePort, String serverName, String domainName, String serverId, String[] connectorURLs)(Code) | | Constructor for a Discovery Event.
Parameters: sourceAddress - the host address to use to receive a response. Parameters: sourcePort - is the port used in the case of a point to point response. Parameters: serverName - is Jonas server name. Parameters: domainName - is Jonas domain name. Parameters: serverId - TODO Parameters: connectorURLs - contains the list of all connector urls registered in the mbeanserver. |
getConnectorURL | public String[] getConnectorURL()(Code) | | the connector URLs of the server sending the discovery event |
getDomainName | public String getDomainName()(Code) | | returns domain name.
domain name. |
getServerName | public String getServerName()(Code) | | returns server name.
serverName |
setConnectorURL | public void setConnectorURL(String[] connectorURLs)(Code) | | Parameters: connectorURLs - the connector URLs of the server sending the discovery event |
setDomainName | public void setDomainName(String domainName)(Code) | | sets the domain name.
Parameters: domainName - the management domain name |
setServerName | public void setServerName(String serverName)(Code) | | sets the serverName
Parameters: serverName - the name of the server sending the discovery event |
setState | public void setState(String state)(Code) | | sets the server state : RUNNING or STOPPING.
Parameters: state - state of the server sending the discovery event |
toString | public String toString()(Code) | | The string version of the message
the message |
Fields inherited from org.objectweb.jonas.discovery.DiscMessage | final public static String DISCOVERY_PROTOCOL_VERSION(Code)(Java Doc)
|
|
|