| java.lang.Object org.objectweb.jonas.discovery.DiscMessage
All known Subclasses: org.objectweb.jonas.discovery.DiscGreeting, org.objectweb.jonas.discovery.DiscEvent,
DISCOVERY_PROTOCOL_VERSION | final public static String DISCOVERY_PROTOCOL_VERSION(Code) | | The protocol version for the Discovery messages.
|
DiscMessage | public DiscMessage(String sourceAddress, int sourcePort)(Code) | | Creates a new DiscoveryRequest
Parameters: sourceAddress - source address to use to send discovery responses. Parameters: sourcePort - source port to use to send disovery responses. |
getSourceAddress | public String getSourceAddress()(Code) | | Returns the destinationAddress value in String type.
Returns the destinationAddress. |
getSourcePort | public int getSourcePort()(Code) | | Returns the sourcePort value.
Returns the sourcePort. |
getVersion | public String getVersion()(Code) | | discovery protocol version |
setSourceAddress | public void setSourceAddress(String sourceAddress)(Code) | | Sets the source address.
Parameters: sourceAddress - |
setSourcePort | public void setSourcePort(int sourcePort)(Code) | | Sets the source port.
Parameters: sourcePort - |
toString | public String toString()(Code) | | the object trandformed into a String |
|
|