| 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, stopclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreate, destroy, dumpStats, getDownThread, getName, getPropertiesAsString, getStatsEnabled, getUpThread, printStats, resetStats, setObserver, setProperties, setStatsEnabled, start, stoppublic TP()
public TP(Protocol p)
public void attachProtocol(Protocol p)
attachProtocol in class Protocolpublic long getMessagesSent()
getMessagesSent in interface TPMBeanpublic long getMessagesReceived()
getMessagesReceived in interface TPMBeanpublic long getBytesSent()
getBytesSent in interface TPMBeanpublic long getBytesReceived()
getBytesReceived in interface TPMBeanpublic Address getLocalAddress()
getLocalAddress in interface TPMBeanpublic java.lang.String getBindAddress()
getBindAddress in interface TPMBeanpublic java.lang.String getChannelName()
getChannelName in interface TPMBeanpublic void setBindAddress(java.lang.String bind_address)
throws java.net.UnknownHostException
setBindAddress in interface TPMBeanjava.net.UnknownHostExceptionpublic boolean isReceiveOnAllInterfaces()
isReceiveOnAllInterfaces in interface TPMBeanpublic java.util.List getReceiveInterfaces()
getReceiveInterfaces in interface TPMBeanpublic boolean isSendOnAllInterfaces()
isSendOnAllInterfaces in interface TPMBeanpublic java.util.List getSendInterfaces()
getSendInterfaces in interface TPMBeanpublic boolean isDiscardIncompatiblePackets()
isDiscardIncompatiblePackets in interface TPMBeanpublic void setDiscardIncompatiblePackets(boolean flag)
setDiscardIncompatiblePackets in interface TPMBeanpublic boolean isEnableBundling()
isEnableBundling in interface TPMBeanpublic void setEnableBundling(boolean flag)
setEnableBundling in interface TPMBeanpublic int getMaxBundleSize()
getMaxBundleSize in interface TPMBeanpublic void setMaxBundleSize(int size)
setMaxBundleSize in interface TPMBeanpublic long getMaxBundleTimeout()
getMaxBundleTimeout in interface TPMBeanpublic void setMaxBundleTimeout(long timeout)
setMaxBundleTimeout in interface TPMBeanpublic int getOutgoingQueueSize()
getOutgoingQueueSize in interface TPMBeanpublic int getOutgoingQueueMaxSize()
getOutgoingQueueMaxSize in interface TPMBeanpublic void setOutgoingQueueMaxSize(int new_size)
setOutgoingQueueMaxSize in interface TPMBeanpublic int getIncomingQueueSize()
getIncomingQueueSize in interface TPMBeanpublic boolean isLoopback()
isLoopback in interface TPMBeanpublic void setLoopback(boolean b)
setLoopback in interface TPMBeanpublic boolean isUseIncomingPacketHandler()
isUseIncomingPacketHandler in interface TPMBeanpublic boolean isUseOutgoungPacketHandler()
isUseOutgoungPacketHandler in interface TPMBeanCopyright ? 1998-2006 Bela Ban. All Rights Reserved.