net.jxta.impl.endpoint.msgframing
Class WelcomeMessage
java.lang.Object
net.jxta.impl.endpoint.msgframing.WelcomeMessage
- public class WelcomeMessage
- extends Object
Contains a Welcome Message
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WelcomeMessage
public WelcomeMessage(EndpointAddress destAddr,
EndpointAddress publicaddress,
ID peerid,
boolean dontPropagate)
- Creates a new instance of WelcomeMessage
WelcomeMessage
public WelcomeMessage(InputStream in)
throws IOException
- Creates a new instance of WelcomeMessage
sendToStream
public void sendToStream(OutputStream theStream)
throws IOException
- Throws:
IOException
getPeerID
public ID getPeerID()
getPublicAddress
public EndpointAddress getPublicAddress()
getDestinationAddress
public EndpointAddress getDestinationAddress()
dontPropagate
public boolean dontPropagate()
getWelcomeVersion
public String getWelcomeVersion()
getWelcomeString
public String getWelcomeString()