|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectakka.io.Tcp$
public class Tcp$
TCP Extension for Akka’s IO layer.
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 |
createExtension(ExtendedActorSystem system)
Is used by Akka to instantiate the Extension identified by this ExtensionId, internal use only. |
TcpExt |
get(ActorSystem system)
Java API: retrieve the Tcp extension for the given system. |
Tcp$ |
lookup()
Returns the canonical ExtensionId for this Extension |
| 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 |
|---|
public static final Tcp$ MODULE$
| Constructor Detail |
|---|
public Tcp$()
| Method Detail |
|---|
public Tcp$ lookup()
ExtensionIdProvider
lookup in interface ExtensionIdProviderpublic TcpExt createExtension(ExtendedActorSystem system)
ExtensionId
createExtension in interface ExtensionId<TcpExt>system - (undocumented)
public TcpExt get(ActorSystem system)
get in interface ExtensionId<TcpExt>system - (undocumented)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||