Ion::Server - An Ion TCP service
Starts the listening socket. Optionally accepts a port number and host interface on which to listen. If left unspecified, these will be assigned by the operating system.
Stops the listener and shuts down the incoming connection queue.
Cedes control until "stop" is called.
Returns the listening port of a started service.
Returns the host interface of a started service.
Returns the next incoming connection. This method will block until a new connection is received.
Adds a subroutine to process outgoing messages to clients of this server. Encoder subs are applied in the order in which they are added.
Adds a subroutine to decode incoming messages from clients of this server. Decoder subs are applied in the order in which they are added.
Jeff Ober <firstname.lastname@example.org>
This software is copyright (c) 2017 by Jeff Ober.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.