| java.lang.Object java.lang.Thread org.jgroups.stack.UpHandler org.jgroups.protocols.TP org.jgroups.protocols.BasicTCP
All known Subclasses: org.jgroups.protocols.TCP, org.jgroups.protocols.TCP_NIO,
BasicTCP | abstract public class BasicTCP extends TP (Code) | | Shared base class for tcpip protocols
author: Scott Marlow |
Method Summary | |
public long | getConnExpireTime() | public int | getEndPort() | public String | getInfo() | public long | getReaperInterval() | public int | getStartPort() | protected void | handleDownEvent(Event evt) | public void | init() | public void | postUnmarshalling(Message msg, Address dest, Address src, boolean multicast) | public void | postUnmarshallingList(Message msg, Address dest, boolean multicast) | abstract public String | printConnections() | public void | receive(Address sender, byte[] data, int offset, int length) | abstract public void | retainAll(Collection members) | abstract public void | send(Address dest, byte[] data, int offset, int length) | public void | sendToAllMembers(byte[] data, int offset, int length) | public void | sendToSingleMember(Address dest, byte[] data, int offset, int length) | public void | setConnExpireTime(long conn_expire_time) | public void | setEndPort(int end_port) | public boolean | setProperties(Properties props) | public void | setReaperInterval(long reaper_interval) | public void | setStartPort(int start_port) |
conn_expire_time | protected long conn_expire_time(Code) | | |
end_port | protected int end_port(Code) | | |
reaper_interval | protected long reaper_interval(Code) | | |
recv_buf_size | int recv_buf_size(Code) | | |
send_buf_size | int send_buf_size(Code) | | |
skip_suspected_members | boolean skip_suspected_members(Code) | | Should we drop unicast messages to suspected members or not
|
sock_conn_timeout | int sock_conn_timeout(Code) | | |
start_port | protected int start_port(Code) | | |
suspect_on_send_failure | boolean suspect_on_send_failure(Code) | | When we cannot send a message to P (on an exception), then we send a SUSPECT message up the stack
|
suspected_mbrs | final BoundedList suspected_mbrs(Code) | | List the maintains the currently suspected members. This is used so we don't send too many SUSPECT
events up the stack (one per message !)
|
tcp_nodelay | boolean tcp_nodelay(Code) | | |
use_send_queues | boolean use_send_queues(Code) | | Use separate send queues for each connection
|
getConnExpireTime | public long getConnExpireTime()(Code) | | |
getEndPort | public int getEndPort()(Code) | | |
getReaperInterval | public long getReaperInterval()(Code) | | |
getStartPort | public int getStartPort()(Code) | | |
handleDownEvent | protected void handleDownEvent(Event evt)(Code) | | |
postUnmarshallingList | public void postUnmarshallingList(Message msg, Address dest, boolean multicast)(Code) | | |
printConnections | abstract public String printConnections()(Code) | | |
receive | public void receive(Address sender, byte[] data, int offset, int length)(Code) | | ConnectionTable.Receiver interface
|
sendToAllMembers | public void sendToAllMembers(byte[] data, int offset, int length) throws Exception(Code) | | |
sendToSingleMember | public void sendToSingleMember(Address dest, byte[] data, int offset, int length) throws Exception(Code) | | |
setConnExpireTime | public void setConnExpireTime(long conn_expire_time)(Code) | | |
setEndPort | public void setEndPort(int end_port)(Code) | | |
setReaperInterval | public void setReaperInterval(long reaper_interval)(Code) | | |
setStartPort | public void setStartPort(int start_port)(Code) | | |
Methods inherited from org.jgroups.protocols.TP | public void down(Event evt)(Code)(Java Doc) public Map dumpStats()(Code)(Java Doc) public String getBindAddress()(Code)(Java Doc) public boolean getBindToAllInterfaces()(Code)(Java Doc) public String getChannelName()(Code)(Java Doc) public int getIncomingQueueSize()(Code)(Java Doc) abstract public String getInfo()(Code)(Java Doc) public Address getLocalAddress()(Code)(Java Doc) public int getMaxBundleSize()(Code)(Java Doc) public long getMaxBundleTimeout()(Code)(Java Doc) public long getNumBytesReceived()(Code)(Java Doc) public long getNumBytesSent()(Code)(Java Doc) public long getNumMessagesReceived()(Code)(Java Doc) public long getNumMessagesSent()(Code)(Java Doc) public int getOutgoingQueueMaxSize()(Code)(Java Doc) public int getOutgoingQueueSize()(Code)(Java Doc) public java.util.List getReceiveInterfaces()(Code)(Java Doc) public java.util.List getSendInterfaces()(Code)(Java Doc) protected void handleConfigEvent(HashMap map)(Code)(Java Doc) protected void handleDownEvent(Event evt)(Code)(Java Doc) public void init() throws Exception(Code)(Java Doc) public boolean isDiscardIncompatiblePackets()(Code)(Java Doc) public boolean isEnableBundling()(Code)(Java Doc) public boolean isLoopback()(Code)(Java Doc) public boolean isReceiveOnAllInterfaces()(Code)(Java Doc) public boolean isSendOnAllInterfaces()(Code)(Java Doc) public boolean isUseIncomingPacketHandler()(Code)(Java Doc) public boolean isUseOutgoingPacketHandler()(Code)(Java Doc) abstract public void postUnmarshalling(Message msg, Address dest, Address src, boolean multicast)(Code)(Java Doc) abstract public void postUnmarshallingList(Message msg, Address dest, boolean multicast)(Code)(Java Doc) final protected void receive(Address dest, Address sender, byte[] data, int offset, int length)(Code)(Java Doc) public void resetStats()(Code)(Java Doc) abstract public void sendToAllMembers(byte[] data, int offset, int length) throws Exception(Code)(Java Doc) abstract public void sendToSingleMember(Address dest, byte[] data, int offset, int length) throws Exception(Code)(Java Doc) public void setBindAddress(String bind_addr) throws UnknownHostException(Code)(Java Doc) public void setBindToAllInterfaces(boolean flag)(Code)(Java Doc) public void setDiscardIncompatiblePackets(boolean flag)(Code)(Java Doc) public void setEnableBundling(boolean flag)(Code)(Java Doc) public void setLoopback(boolean b)(Code)(Java Doc) public void setMaxBundleSize(int size)(Code)(Java Doc) public void setMaxBundleTimeout(long timeout)(Code)(Java Doc) public void setOutgoingQueueMaxSize(int new_size)(Code)(Java Doc) public boolean setProperties(Properties props)(Code)(Java Doc) protected void setThreadNames()(Code)(Java Doc) public void start() throws Exception(Code)(Java Doc) public void startUpHandler()(Code)(Java Doc) public void stop()(Code)(Java Doc) public String toString()(Code)(Java Doc) protected void unsetThreadNames()(Code)(Java Doc) public void up(Event evt)(Code)(Java Doc)
|
Fields inherited from org.jgroups.stack.UpHandler | final protected Log log(Code)(Java Doc)
|
|
|