Modifier and Type | Method and Description |
---|---|
void |
attachProtocol(Protocol p) |
java.lang.String |
getBindAddress() |
long |
getBytesReceived() |
long |
getBytesSent() |
java.lang.String |
getChannelName() |
int |
getIncomingQueueSize() |
Address |
getLocalAddress() |
int |
getMaxBundleSize() |
long |
getMaxBundleTimeout() |
long |
getMessagesReceived() |
long |
getMessagesSent() |
int |
getOutgoingQueueMaxSize() |
int |
getOutgoingQueueSize() |
java.util.List |
getReceiveInterfaces() |
java.util.List |
getSendInterfaces() |
boolean |
isDiscardIncompatiblePackets() |
boolean |
isEnableBundling() |
boolean |
isLoopback() |
boolean |
isReceiveOnAllInterfaces() |
boolean |
isSendOnAllInterfaces() |
boolean |
isUseIncomingPacketHandler() |
boolean |
isUseOutgoungPacketHandler() |
void |
setBindAddress(java.lang.String bind_address) |
void |
setDiscardIncompatiblePackets(boolean flag) |
void |
setEnableBundling(boolean flag) |
void |
setLoopback(boolean b) |
void |
setMaxBundleSize(int size) |
void |
setMaxBundleTimeout(long timeout) |
void |
setOutgoingQueueMaxSize(int new_size) |
create, destroy, dumpStats, getDownThread, getName, getPropertiesAsString, getStatsEnabled, getUpThread, printStats, resetStats, setObserver, setProperties, setStatsEnabled, start, stop
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
create, destroy, dumpStats, getDownThread, getName, getPropertiesAsString, getStatsEnabled, getUpThread, printStats, resetStats, setObserver, setProperties, setStatsEnabled, start, stop
public TP()
public TP(Protocol p)
public void attachProtocol(Protocol p)
attachProtocol
in class Protocol
public long getMessagesSent()
getMessagesSent
in interface TPMBean
public long getMessagesReceived()
getMessagesReceived
in interface TPMBean
public long getBytesSent()
getBytesSent
in interface TPMBean
public long getBytesReceived()
getBytesReceived
in interface TPMBean
public Address getLocalAddress()
getLocalAddress
in interface TPMBean
public java.lang.String getBindAddress()
getBindAddress
in interface TPMBean
public java.lang.String getChannelName()
getChannelName
in interface TPMBean
public void setBindAddress(java.lang.String bind_address) throws java.net.UnknownHostException
setBindAddress
in interface TPMBean
java.net.UnknownHostException
public boolean isReceiveOnAllInterfaces()
isReceiveOnAllInterfaces
in interface TPMBean
public java.util.List getReceiveInterfaces()
getReceiveInterfaces
in interface TPMBean
public boolean isSendOnAllInterfaces()
isSendOnAllInterfaces
in interface TPMBean
public java.util.List getSendInterfaces()
getSendInterfaces
in interface TPMBean
public boolean isDiscardIncompatiblePackets()
isDiscardIncompatiblePackets
in interface TPMBean
public void setDiscardIncompatiblePackets(boolean flag)
setDiscardIncompatiblePackets
in interface TPMBean
public boolean isEnableBundling()
isEnableBundling
in interface TPMBean
public void setEnableBundling(boolean flag)
setEnableBundling
in interface TPMBean
public int getMaxBundleSize()
getMaxBundleSize
in interface TPMBean
public void setMaxBundleSize(int size)
setMaxBundleSize
in interface TPMBean
public long getMaxBundleTimeout()
getMaxBundleTimeout
in interface TPMBean
public void setMaxBundleTimeout(long timeout)
setMaxBundleTimeout
in interface TPMBean
public int getOutgoingQueueSize()
getOutgoingQueueSize
in interface TPMBean
public int getOutgoingQueueMaxSize()
getOutgoingQueueMaxSize
in interface TPMBean
public void setOutgoingQueueMaxSize(int new_size)
setOutgoingQueueMaxSize
in interface TPMBean
public int getIncomingQueueSize()
getIncomingQueueSize
in interface TPMBean
public boolean isLoopback()
isLoopback
in interface TPMBean
public void setLoopback(boolean b)
setLoopback
in interface TPMBean
public boolean isUseIncomingPacketHandler()
isUseIncomingPacketHandler
in interface TPMBean
public boolean isUseOutgoungPacketHandler()
isUseOutgoungPacketHandler
in interface TPMBean
Copyright ? 1998-2006 Bela Ban. All Rights Reserved.