|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.jonas.server.discovery.DiscMessage
Constructor Summary | |
DiscMessage(java.lang.String sourceAddress,
int sourcePort)
Creates a new DiscoveryRequest |
Method Summary | |
static java.net.DatagramPacket |
getDatagram(java.io.Serializable o)
Concerts the current object to a Datagram |
java.lang.String |
getSourceAddress()
Returns the destinationAddress value in String type. |
int |
getSourcePort()
Returns the sourcePort value. |
static byte[] |
objectToBytes(java.io.Serializable obj)
Converts the given object to an array of bytes. |
void |
setSourceAddress(java.lang.String sourceAddress)
Sets the source address. |
void |
setSourcePort(int sourcePort)
Sets the source port. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public DiscMessage(java.lang.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 java.lang.String getSourceAddress()
public int getSourcePort()
public void setSourceAddress(java.lang.String sourceAddress)
sourceAddress
- public void setSourcePort(int sourcePort)
sourcePort
- public static byte[] objectToBytes(java.io.Serializable obj)
obj
- the object to convert
public static java.net.DatagramPacket getDatagram(java.io.Serializable o)
o
-
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |