Packages

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.

Annotations
@nowarn()
Source
UdpConnected.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Connect
  2. Serializable
  3. Product
  4. Equals
  5. Command
  6. Message
  7. HasFailureMessage
  8. AnyRef
  9. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Connect(handler: ActorRef, remoteAddress: InetSocketAddress, localAddress: Option[InetSocketAddress] = None, options: Traversable[SocketOption] = Nil)

Value Members

  1. def failureMessage: CommandFailed
    Definition Classes
    Command → HasFailureMessage
  2. val handler: ActorRef
  3. val localAddress: Option[InetSocketAddress]
  4. val options: Traversable[SocketOption]
  5. def productElementNames: Iterator[String]
    Definition Classes
    Product
  6. val remoteAddress: InetSocketAddress