akka.io
Class TcpConnection.ConnectionInfo

java.lang.Object
  extended by akka.io.TcpConnection.ConnectionInfo
All Implemented Interfaces:
java.io.Serializable, scala.Equals, scala.Product
Enclosing class:
TcpConnection

public static class TcpConnection.ConnectionInfo
extends java.lang.Object
implements scala.Product, scala.Serializable

Groups required connection-related data that are only available once the connection has been fully established.

See Also:
Serialized Form

Constructor Summary
TcpConnection.ConnectionInfo(ChannelRegistration registration, ActorRef handler, boolean keepOpenOnPeerClosed, boolean useResumeWriting)
           
 
Method Summary
 ActorRef handler()
           
 boolean keepOpenOnPeerClosed()
           
 ChannelRegistration registration()
           
 boolean useResumeWriting()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface scala.Product
productArity, productElement, productIterator, productPrefix
 
Methods inherited from interface scala.Equals
canEqual, equals
 

Constructor Detail

TcpConnection.ConnectionInfo

public TcpConnection.ConnectionInfo(ChannelRegistration registration,
                                    ActorRef handler,
                                    boolean keepOpenOnPeerClosed,
                                    boolean useResumeWriting)
Method Detail

registration

public ChannelRegistration registration()

handler

public ActorRef handler()

keepOpenOnPeerClosed

public boolean keepOpenOnPeerClosed()

useResumeWriting

public boolean useResumeWriting()