Package akka.stream.scaladsl
Class Tcp$
- java.lang.Object
-
- akka.stream.scaladsl.Tcp$
-
- All Implemented Interfaces:
ExtensionId<Tcp>
,ExtensionIdProvider
public class Tcp$ extends java.lang.Object implements ExtensionId<Tcp>, ExtensionIdProvider
-
-
Constructor Summary
Constructors Constructor Description Tcp$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tcp
apply(ActorSystem system)
Returns an instance of the extension identified by this ExtensionId instance.Tcp
createExtension(ExtendedActorSystem system)
Is used by Akka to instantiate the Extension identified by this ExtensionId, internal use only.Tcp
get(ActorSystem system)
Returns an instance of the extension identified by this ExtensionId instance.Tcp
get(ClassicActorSystemProvider system)
Returns an instance of the extension identified by this ExtensionId instance.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
-
MODULE$
public static final Tcp$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
apply
public Tcp apply(ActorSystem system)
Description copied from interface:ExtensionId
Returns an instance of the extension identified by this ExtensionId instance.- Specified by:
apply
in interfaceExtensionId<Tcp>
-
get
public Tcp get(ActorSystem system)
Description copied from interface:ExtensionId
Returns 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: ActorSystem): TheExtension = super.get(system)
- Specified by:
get
in interfaceExtensionId<Tcp>
-
get
public Tcp get(ClassicActorSystemProvider system)
Description copied from interface:ExtensionId
Returns 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:
get
in interfaceExtensionId<Tcp>
-
lookup
public Tcp$ lookup()
Description copied from interface:ExtensionIdProvider
Returns the canonical ExtensionId for this Extension- Specified by:
lookup
in interfaceExtensionIdProvider
-
createExtension
public Tcp createExtension(ExtendedActorSystem system)
Description copied from interface:ExtensionId
Is used by Akka to instantiate the Extension identified by this ExtensionId, internal use only.- Specified by:
createExtension
in interfaceExtensionId<Tcp>
-
-