public class Tcp$ extends java.lang.Object implements ExtensionId<akka.io.TcpExt>, ExtensionIdProvider
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.
| Modifier and Type | Field and Description |
|---|---|
static Tcp$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
| Constructor and Description |
|---|
Tcp$() |
| Modifier and Type | Method and Description |
|---|---|
akka.io.TcpExt |
createExtension(ExtendedActorSystem system)
Is used by Akka to instantiate the Extension identified by this ExtensionId,
internal use only.
|
akka.io.TcpExt |
get(ActorSystem system)
Java API: retrieve the Tcp extension for the given system.
|
Tcp$ |
lookup()
Returns the canonical ExtensionId for this Extension
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapply, equals, hashCodepublic static final Tcp$ MODULE$
public Tcp$ lookup()
ExtensionIdProviderlookup in interface ExtensionIdProviderpublic akka.io.TcpExt createExtension(ExtendedActorSystem system)
ExtensionIdcreateExtension in interface ExtensionId<akka.io.TcpExt>system - (undocumented)public akka.io.TcpExt get(ActorSystem system)
get in interface ExtensionId<akka.io.TcpExt>system - (undocumented)