final case class Connect(handler: ActorRef, remoteAddress: InetSocketAddress, localAddress: Option[InetSocketAddress] = None, options: Traversable[SocketOption] = Nil) extends Command with Product with Serializable
Send this message to the UdpExt#manager in order to bind to a local
port (optionally with the chosen localAddress) and create a UDP socket
which is restricted to sending to and receiving from the given remoteAddress.
All received datagrams will be sent to the designated handler actor.
- Source
- UdpConnected.scala
- Alphabetic
- By Inheritance
- Connect
- Serializable
- Serializable
- Product
- Equals
- Command
- Message
- HasFailureMessage
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Connect(handler: ActorRef, remoteAddress: InetSocketAddress, localAddress: Option[InetSocketAddress] = None, options: Traversable[SocketOption] = Nil)
Value Members
-
def
failureMessage: CommandFailed
- Definition Classes
- Command → HasFailureMessage
- val handler: ActorRef
- val localAddress: Option[InetSocketAddress]
- val options: Traversable[SocketOption]
- val remoteAddress: InetSocketAddress