akka.io
Class Tcp$

java.lang.Object
  extended by akka.actor.ExtensionKey<TcpExt>
      extended by akka.io.Tcp$
All Implemented Interfaces:
ExtensionId<TcpExt>, ExtensionIdProvider

public class Tcp$
extends ExtensionKey<TcpExt>

TCP Extension for Akka’s IO layer.

All contents of the akka.io package is marked “experimental”.

This marker signifies that APIs may still change in response to user feedback through-out the 2.2 release cycle. The implementation itself is considered stable and ready for production use.

For a full description of the design and philosophy behind this IO implementation please refer to the Akka online documentation.

In order to open an outbound connection send a Tcp.Connect message to the TcpExt.manager().

In order to start listening for inbound connetions send a Tcp.Bind message to the TcpExt.manager().

The Java API for generating TCP commands is available at TcpMessage.


Field Summary
static Tcp$ MODULE$
          Static reference to the singleton instance of this Scala object.
 
Constructor Summary
Tcp$()
           
 
Method Summary
 TcpExt get(ActorSystem system)
          Java API: retrieve Tcp extension for the given system.
 
Methods inherited from class akka.actor.ExtensionKey
createExtension, lookup
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface akka.actor.ExtensionId
apply, equals, hashCode
 

Field Detail

MODULE$

public static final Tcp$ MODULE$
Static reference to the singleton instance of this Scala object.

Constructor Detail

Tcp$

public Tcp$()
Method Detail

get

public TcpExt get(ActorSystem system)
Java API: retrieve Tcp extension for the given system.