ostore.network
Class MultiplexedNetwork.ConnectionState

java.lang.Object
  |
  +--ostore.network.MultiplexedNetwork.ConnectionState
Enclosing class:
MultiplexedNetwork

protected class MultiplexedNetwork.ConnectionState
extends Object

All the state we need about a connection to another node.


Field Summary
protected  boolean client_closed
           
protected  ATcpConnection client_conn
           
protected  ConnectionStream client_is
           
protected  Set ids_represented
           
protected  NodeId lowest_id_represented
           
protected  LinkedList pending_outb_msgs
           
protected  boolean server_closed
           
protected  ATcpConnection server_conn
           
protected  ConnectionStream server_is
           
protected  long time_established
           
 
Constructor Summary
protected MultiplexedNetwork.ConnectionState()
           
 
Method Summary
protected  void close_client()
           
protected  void close_server()
           
protected  ATcpConnection preferred_outb_conn()
           
protected  ConnectionStream stream(ATcpConnection c)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

time_established

protected long time_established

client_conn

protected ATcpConnection client_conn

server_conn

protected ATcpConnection server_conn

client_is

protected ConnectionStream client_is

server_is

protected ConnectionStream server_is

client_closed

protected boolean client_closed

server_closed

protected boolean server_closed

ids_represented

protected Set ids_represented

lowest_id_represented

protected NodeId lowest_id_represented

pending_outb_msgs

protected LinkedList pending_outb_msgs
Constructor Detail

MultiplexedNetwork.ConnectionState

protected MultiplexedNetwork.ConnectionState()
Method Detail

stream

protected ConnectionStream stream(ATcpConnection c)

preferred_outb_conn

protected ATcpConnection preferred_outb_conn()

close_client

protected void close_client()

close_server

protected void close_server()