Package akka.io
Class Tcp$
- java.lang.Object
-
- akka.io.Tcp$
-
- All Implemented Interfaces:
ExtensionId<TcpExt>,ExtensionIdProvider
public class Tcp$ extends java.lang.Object implements ExtensionId<TcpExt>, ExtensionIdProvider
Java API: retrieve the Tcp extension for the given system.
-
-
Constructor Summary
Constructors Constructor Description Tcp$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TcpExtcreateExtension(ExtendedActorSystem system)Is used by Akka to instantiate the Extension identified by this ExtensionId, internal use only.TcpExtget(ActorSystem system)Java API: retrieve the Tcp extension for the given system.TcpExtget(ClassicActorSystemProvider system)Returns an instance of the extension identified by this ExtensionId instance.Tcp$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, apply, equals, hashCode
-
-
-
-
Field Detail
-
MODULE$
public static final Tcp$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
lookup
public Tcp$ lookup()
- Specified by:
lookupin interfaceExtensionIdProvider
-
createExtension
public TcpExt createExtension(ExtendedActorSystem system)
Description copied from interface:ExtensionIdIs used by Akka to instantiate the Extension identified by this ExtensionId, internal use only.- Specified by:
createExtensionin interfaceExtensionId<TcpExt>- Parameters:
system- (undocumented)- Returns:
- (undocumented)
-
get
public TcpExt get(ActorSystem system)
Java API: retrieve the Tcp extension for the given system.- Specified by:
getin interfaceExtensionId<TcpExt>- Parameters:
system- (undocumented)- Returns:
- (undocumented)
-
get
public TcpExt get(ClassicActorSystemProvider system)
Description copied from interface:ExtensionIdReturns an instance of the extension identified by this ExtensionId instance. Java API For extensions written in Scala that are to be used from Java also, this method should be overridden to get correct return type.override def get(system: ClassicActorSystemProvider): TheExtension = super.get(system)- Specified by:
getin interfaceExtensionId<TcpExt>- Parameters:
system- (undocumented)- Returns:
- (undocumented)
-
-