24 Jul 2018 16:56:14 UTC
- Distribution: Ion
- Module version: 0.08
- Source (raw)
- Browse (raw)
- How to Contribute
- Testers (502 / 1 / 0)
- KwaliteeBus factor: 1
- % Coverage
- License: perl_5
- Activity24 month
- Download (17.6KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version
- OVERLOADED OPERATORS
- COPYRIGHT AND LICENSE
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 <email@example.com>
This software is copyright (c) 2018 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.