org.jgroups.jmx.protocols
Class TCP

java.lang.Object
  extended byorg.jgroups.jmx.Protocol
      extended byorg.jgroups.jmx.protocols.TP
          extended byorg.jgroups.jmx.protocols.TCP
All Implemented Interfaces:
ProtocolMBean, TCPMBean, TPMBean
Direct Known Subclasses:
TCP_NIO

public class TCP
extends TP
implements TCPMBean

Version:
$Id: TCP.java,v 1.2 2005/08/17 07:32:29 belaban Exp $
Author:
Bela Ban

Constructor Summary
TCP()
           
TCP(Protocol p)
           
 
Method Summary
 void attachProtocol(Protocol p)
           
 java.net.InetAddress getBindAddr()
           
 long getConnExpireTime()
           
 int getEndPort()
           
 int getOpenConnections()
           
 long getReaperInterval()
           
 int getStartPort()
           
 java.lang.String printConnections()
           
 void setBindAddr(java.net.InetAddress bind_addr)
           
 void setConnExpireTime(long conn_expire_time)
           
 void setEndPort(int end_port)
           
 void setReaperInterval(long reaper_interval)
           
 void setStartPort(int start_port)
           
 
Methods inherited from class org.jgroups.jmx.protocols.TP
getBindAddress, getBytesReceived, getBytesSent, getChannelName, getIncomingQueueSize, getLocalAddress, getMaxBundleSize, getMaxBundleTimeout, getMessagesReceived, getMessagesSent, getOutgoingQueueMaxSize, getOutgoingQueueSize, getReceiveInterfaces, getSendInterfaces, isDiscardIncompatiblePackets, isEnableBundling, isLoopback, isReceiveOnAllInterfaces, isSendOnAllInterfaces, isUseIncomingPacketHandler, isUseOutgoungPacketHandler, setBindAddress, setDiscardIncompatiblePackets, setEnableBundling, setLoopback, setMaxBundleSize, setMaxBundleTimeout, setOutgoingQueueMaxSize
 
Methods inherited from class org.jgroups.jmx.Protocol
create, destroy, dumpStats, getDownThread, getName, getPropertiesAsString, getStatsEnabled, getUpThread, isTrace, isWarn, printStats, resetStats, setObserver, setProperties, setStatsEnabled, setTrace, setWarn, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jgroups.jmx.protocols.TPMBean
getBindAddress, getBytesReceived, getBytesSent, getChannelName, getIncomingQueueSize, getLocalAddress, getMaxBundleSize, getMaxBundleTimeout, getMessagesReceived, getMessagesSent, getOutgoingQueueMaxSize, getOutgoingQueueSize, getReceiveInterfaces, getSendInterfaces, isDiscardIncompatiblePackets, isEnableBundling, isLoopback, isReceiveOnAllInterfaces, isSendOnAllInterfaces, isUseIncomingPacketHandler, isUseOutgoungPacketHandler, setBindAddress, setDiscardIncompatiblePackets, setEnableBundling, setLoopback, setMaxBundleSize, setMaxBundleTimeout, setOutgoingQueueMaxSize
 
Methods inherited from interface org.jgroups.jmx.ProtocolMBean
create, destroy, dumpStats, getDownThread, getName, getPropertiesAsString, getStatsEnabled, getUpThread, isTrace, isWarn, printStats, resetStats, setObserver, setProperties, setStatsEnabled, setTrace, setWarn, start, stop
 

Constructor Detail

TCP

public TCP()

TCP

public TCP(Protocol p)
Method Detail

attachProtocol

public void attachProtocol(Protocol p)
Overrides:
attachProtocol in class TP

getOpenConnections

public int getOpenConnections()
Specified by:
getOpenConnections in interface TCPMBean

getBindAddr

public java.net.InetAddress getBindAddr()
Specified by:
getBindAddr in interface TCPMBean

setBindAddr

public void setBindAddr(java.net.InetAddress bind_addr)
Specified by:
setBindAddr in interface TCPMBean

getStartPort

public int getStartPort()
Specified by:
getStartPort in interface TCPMBean

setStartPort

public void setStartPort(int start_port)
Specified by:
setStartPort in interface TCPMBean

getEndPort

public int getEndPort()
Specified by:
getEndPort in interface TCPMBean

setEndPort

public void setEndPort(int end_port)
Specified by:
setEndPort in interface TCPMBean

getReaperInterval

public long getReaperInterval()
Specified by:
getReaperInterval in interface TCPMBean

setReaperInterval

public void setReaperInterval(long reaper_interval)
Specified by:
setReaperInterval in interface TCPMBean

getConnExpireTime

public long getConnExpireTime()
Specified by:
getConnExpireTime in interface TCPMBean

setConnExpireTime

public void setConnExpireTime(long conn_expire_time)
Specified by:
setConnExpireTime in interface TCPMBean

printConnections

public java.lang.String printConnections()
Specified by:
printConnections in interface TCPMBean


Copyright ? 1998-2005 Bela Ban. All Rights Reserved.