A reference to the akka.actor.IOManagerActor that performs the actual IO.
A reference to the akka.actor.IOManagerActor that performs the actual IO. It communicates with other actors using subclasses of akka.actor.IO.IOMessage.
Create a SocketChannel connecting to a host and port.
Create a SocketChannel connecting to a host and port. Messages will be sent from the akka.actor.IOManagerActor to the owner akka.actor.ActorRef.
the hostname or IP to connect to
the port to connect to
the ActorRef that will receive messages from the IOManagerActor
a akka.actor.IO.SocketHandle to uniquely identify the created socket
Create a SocketChannel connecting to an address.
Create a SocketChannel connecting to an address. Messages will be sent from the akka.actor.IOManagerActor to the owner akka.actor.ActorRef.
the address to connect to
Seq of akka.actor.IO.SocketOption to setup on established socket
the ActorRef that will receive messages from the IOManagerActor
a akka.actor.IO.SocketHandle to uniquely identify the created socket
Create a ServerSocketChannel listening on a host and port.
Create a ServerSocketChannel listening on a host and port. Messages will be sent from the akka.actor.IOManagerActor to the owner akka.actor.ActorRef.
the hostname or IP to listen on
the port to listen on
Seq of akka.actor.IO.ServerSocketOption to setup on socket
the ActorRef that will receive messages from the IOManagerActor
a akka.actor.IO.ServerHandle to uniquely identify the created socket
Create a ServerSocketChannel listening on an address.
Create a ServerSocketChannel listening on an address. Messages will be sent from the akka.actor.IOManagerActor to the owner akka.actor.ActorRef.
the address to listen on
the ActorRef that will receive messages from the IOManagerActor
a akka.actor.IO.ServerHandle to uniquely identify the created socket
Create a ServerSocketChannel listening on an address.
Create a ServerSocketChannel listening on an address. Messages will be sent from the akka.actor.IOManagerActor to the owner akka.actor.ActorRef.
the address to listen on
the ActorRef that will receive messages from the IOManagerActor
a akka.actor.IO.ServerHandle to uniquely identify the created socket
IOManager contains a reference to the akka.actor.IOManagerActor for an akka.actor.ActorSystem.
This is the recommended entry point to creating sockets for performing IO.
Use the companion object to retrieve the instance of this class for an ActorSystem.
An IOManager does not need to be manually stopped when not in use as it will automatically enter an idle state when it has no channels to manage.