object Tcp extends ExtensionId[Tcp] with ExtensionIdProvider
- Source
- Tcp.scala
- Alphabetic
- By Inheritance
- Tcp
- ExtensionIdProvider
- ExtensionId
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
final
case class
IncomingConnection
(localAddress: InetSocketAddress, remoteAddress: InetSocketAddress, flow: Flow[ByteString, ByteString, NotUsed]) extends Product with Serializable
Represents an accepted incoming TCP connection.
-
final
case class
OutgoingConnection
(remoteAddress: InetSocketAddress, localAddress: InetSocketAddress) extends Product with Serializable
Represents a prospective outgoing TCP connection.
-
final
case class
ServerBinding
(localAddress: InetSocketAddress)(unbindAction: () ⇒ Future[Unit]) extends Product with Serializable
* Represents a successful TCP server binding.
Value Members
- def apply()(implicit system: ActorSystem): Tcp
-
def
apply(system: ActorSystem): Tcp
Returns an instance of the extension identified by this ExtensionId instance.
Returns an instance of the extension identified by this ExtensionId instance.
- Definition Classes
- ExtensionId
-
def
createExtension(system: ExtendedActorSystem): Tcp
Is used by Akka to instantiate the Extension identified by this ExtensionId, internal use only.
Is used by Akka to instantiate the Extension identified by this ExtensionId, internal use only.
- Definition Classes
- Tcp → ExtensionId
-
final
def
equals(other: Any): Boolean
- Definition Classes
- ExtensionId → AnyRef → Any
-
def
get(system: ActorSystem): Tcp
Returns an instance of the extension identified by this ExtensionId instance.
Returns an instance of the extension identified by this ExtensionId instance. Java API For extensions written in Scala that are to be used used from Java also, this method should be overridden to get correct return type.
override def get(system: ActorSystem): TheExtension = super.get(system)
- Definition Classes
- Tcp → ExtensionId
-
final
def
hashCode(): Int
- Definition Classes
- ExtensionId → AnyRef → Any
-
def
lookup(): Tcp.type
Returns the canonical ExtensionId for this Extension
Returns the canonical ExtensionId for this Extension
- Definition Classes
- Tcp → ExtensionIdProvider