Project JXTA

net.jxta.impl.endpoint.msgframing
Class WelcomeMessage

java.lang.Object
  extended by net.jxta.impl.endpoint.msgframing.WelcomeMessage

public class WelcomeMessage
extends Object

Contains a Welcome Message


Constructor Summary
WelcomeMessage(EndpointAddress destAddr, EndpointAddress publicaddress, ID peerid, boolean dontPropagate)
          Creates a new instance of WelcomeMessage
WelcomeMessage(InputStream in)
          Creates a new instance of WelcomeMessage
 
Method Summary
 boolean dontPropagate()
           
 EndpointAddress getDestinationAddress()
           
 ID getPeerID()
           
 EndpointAddress getPublicAddress()
           
 String getWelcomeString()
           
 String getWelcomeVersion()
           
 void sendToStream(OutputStream theStream)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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

Throws:
IOException
Method Detail

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()

JXTA J2SE