Class
Tree
          
SUMMARY: INNER | FIELD | CONSTR | METHODDETAIL: FIELD | CONSTR | METHOD
 

com.newstep.solid.netio.rtt
Class RttServerChannel
com.newstep.solid.netio.AbstractCommChannel
  |
  +--com.newstep.solid.netio.AbstractMessageChannel
       |
       +--com.newstep.solid.netio.rtt.RttChannel
            |
            +--com.newstep.solid.netio.rtt.RttServerChannel
All Implemented Interfaces:
       CommChannel, MessageChannel, ProtocolListener

public class RttServerChannel      
 
Links:
Kernel Association Association Link
to Class ListeningServer
Associates type:
association
Client cardinality:
1
Client navigability:
NOT NAVIGABLE
Client visibility:
private
Supplier cardinality:
1
Supplier navigability:
NAVIGABLE
Supplier visibility:
private
 
Generalization Generalization Link
to Class RttChannel
 
 

Field Summary
private final static String
private boolean
private static Logger
Constructor Summary
protected void
Method Summary
synchronized boolean
connect(RttServerChannel redundantChannel)
synchronized boolean
public int
synchronized void
Field Detail
className
private final static String className
Final.
Multiplicity:
1
Static.
 

handshakePending
private boolean handshakePending
Multiplicity:
1
 

listeningServer
private RttAccessPoint.ListeningServer listeningServer
Multiplicity:
1
 

logger
private static Logger logger
Multiplicity:
1
Static.
 
Constructor Detail
RttServerChannel
protected void RttServerChannel (RttAccessPoint mom, RttAccessPoint.ListeningServer server)
 
Stereotype:
create
 
Method Detail
connect
synchronized boolean connect (RttServerChannel redundantChannel)
 
Removes a newly established half-channel from the redundantChannel and reattaches it
an existing rtt channel without the redundant connection. It is used to handle the
establishment of the secondary tcp connection, or re-connection of both primary and
secondary tcp connection after a failure.
Parameters:
redundantChannel
Return:
true if successful
Synchronized.
 

connect
synchronized boolean connect (TcpStreamChannel tcpChannel, MessageFramingElement mfe)
 
Synchronized.
 

getRemoteId
public int getRemoteId ()
 
 

handshake
synchronized void handshake (IdentificationMessage im)
 
Synchronized.
 

Class
Tree
          
SUMMARY: INNER | FIELD | CONSTR | METHODDETAIL: FIELD | CONSTR | METHOD