org.jgroups.jmx.protocols

Class TCP

Implemented Interfaces:
ProtocolMBean, TCPMBean, TPMBean
Known Direct 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)
InetAddress
getBindAddr()
long
getConnExpireTime()
int
getEndPort()
int
getOpenConnections()
long
getReaperInterval()
int
getStartPort()
String
printConnections()
void
setBindAddr(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

attachProtocol, 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

attachProtocol, create, destroy, dumpStats, getDownThread, getName, getPropertiesAsString, getStatsEnabled, getUpThread, isTrace, isWarn, printStats, resetStats, setObserver, setProperties, setStatsEnabled, setTrace, setWarn, start, stop

Constructor Details

TCP

public TCP()

TCP

public TCP(Protocol p)

Method Details

attachProtocol

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

getBindAddr

public InetAddress getBindAddr()
Specified by:
getBindAddr in interface TCPMBean

getConnExpireTime

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

getEndPort

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

getOpenConnections

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

getReaperInterval

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

getStartPort

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

printConnections

public String printConnections()
Specified by:
printConnections in interface TCPMBean

setBindAddr

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

setConnExpireTime

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

setEndPort

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

setReaperInterval

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

setStartPort

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

Copyright B) 1998-2005 Bela Ban. All Rights Reserved.