final case class Connect(handler: ActorRef, remoteAddress: InetSocketAddress, localAddress: Option[InetSocketAddress] = None, options: Traversable[SocketOption] = Nil) extends Command with Product with Serializable
Ordering
- Alphabetic
- By Inheritance
Inherited
- Connect
- Serializable
- Product
- Equals
- Command
- Message
- HasFailureMessage
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new Connect(handler: ActorRef, remoteAddress: InetSocketAddress, localAddress: [InetSocketAddress] = None, options: Traversable[SocketOption] = Nil)
Value Members
- def failureMessage: CommandFailed
- Definition Classes
- Command → HasFailureMessage
- val handler: ActorRef
- val localAddress: [InetSocketAddress]
- val options: Traversable[SocketOption]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val remoteAddress: InetSocketAddress
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 givenremoteAddress
. All received datagrams will be sent to the designatedhandler
actor.