|
Project JXTA | ||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.jxta.impl.config.TcpConfig
Sub-configuration for TCP-specific settings. Instances of this class are normally contained within a Config instance.
Constructor Summary | |
TcpConfig()
|
Method Summary | |
static TcpConfig |
createDefaultConfig()
Creates a TcpConfig with the default settings |
java.lang.String |
getImplClassname()
Sets the classname for the Tcp transport implementation class |
net.jxta.endpoint.EndpointAddress |
getMulticastAddress()
Gets the EndpointAddress for the multicast channel |
int |
getMulticastBufferLen()
Gets the buffer length for multicast datagrams |
net.jxta.endpoint.EndpointAddress |
getPublicAddress()
Gets the EndpointAddress for the public TCP address I want to expose. |
net.jxta.endpoint.EndpointAddress |
getServerAddress()
Gets the EndpointAddress for the local TCP server |
boolean |
getUsePublicAddress()
Tells whether to use the PublicAddress settings. |
static TcpConfig |
newFromXML(net.jxta.document.TextElement parent)
Creates a new HttpConfig instance given a parent "Http" element |
void |
setImplClassname(java.lang.String aImplClassname)
Sets the classname for the Tcp transport implementation class |
void |
setMulticastAddress(net.jxta.endpoint.EndpointAddress aMulticastAddress)
Sets the EndpointAddress for the multicast channel |
void |
setMulticastBufferLen(int aBufferLen)
Sets the buffer length for multicast datagrams |
void |
setPublicAddress(net.jxta.endpoint.EndpointAddress aPublicAddress)
Sets the EndpointAddress for the public TCP address I want to expose. |
void |
setServerAddress(net.jxta.endpoint.EndpointAddress aAddress)
Sets the EndpointAddress for the local TCP server |
void |
setUsePublicAddress(boolean aUsePublicAddress)
Sets whether to use the PublicAddress settings. |
void |
writeToXML(net.jxta.document.StructuredTextDocument doc)
Writes the configuration to XML |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public TcpConfig()
Method Detail |
public void writeToXML(net.jxta.document.StructuredTextDocument doc)
public static TcpConfig createDefaultConfig()
public static TcpConfig newFromXML(net.jxta.document.TextElement parent)
public net.jxta.endpoint.EndpointAddress getServerAddress()
public void setServerAddress(net.jxta.endpoint.EndpointAddress aAddress)
public net.jxta.endpoint.EndpointAddress getMulticastAddress()
public void setMulticastAddress(net.jxta.endpoint.EndpointAddress aMulticastAddress)
public int getMulticastBufferLen()
public void setMulticastBufferLen(int aBufferLen)
public net.jxta.endpoint.EndpointAddress getPublicAddress()
public void setPublicAddress(net.jxta.endpoint.EndpointAddress aPublicAddress)
public boolean getUsePublicAddress()
public void setUsePublicAddress(boolean aUsePublicAddress)
public java.lang.String getImplClassname()
public void setImplClassname(java.lang.String aImplClassname)
|
Project JXTA | ||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |