|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ow2.jonas.discovery.base.comm.DiscMessage
public class DiscMessage
Field Summary | |
---|---|
static String |
DISCOVERY_PROTOCOL_VERSION
The protocol version for the Discovery messages. |
Constructor Summary | |
---|---|
DiscMessage(String sourceAddress,
int sourcePort)
Creates a new DiscoveryRequest . |
Method Summary | |
---|---|
String |
getSourceAddress()
Returns the destinationAddress value in String type. |
int |
getSourcePort()
Returns the sourcePort value. |
String |
getVersion()
|
void |
setSourceAddress(String sourceAddress)
Sets the source address. |
void |
setSourcePort(int sourcePort)
Sets the source port. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String DISCOVERY_PROTOCOL_VERSION
Constructor Detail |
---|
public DiscMessage(String sourceAddress, int sourcePort)
DiscoveryRequest
.
sourceAddress
- source address to use to send discovery responses.sourcePort
- source port to use to send disovery responses.Method Detail |
---|
public String getSourceAddress()
public int getSourcePort()
public void setSourceAddress(String sourceAddress)
sourceAddress
- Discovery source address.public void setSourcePort(int sourcePort)
sourcePort
- Discovery source portpublic String toString()
toString
in class Object
public String getVersion()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |