NAME

Argon::Constants - Constants used by Argon classes

VERSION

version 0.18

DESCRIPTION

Constants used by Argon.

EXPORT TAGS

:defaults

$EOL

End of line character ("\015\012").

:priorities

Priority levels for Argon::Messages.

$HIGH

$NORMAL

$LOW

:commands

Command verbs used in the Argon protocol.

$ID

Used by Argon::SecureChannel to identify itself to the other side of the line.

$PING

Used internally to identify when a worker or the manager becomes unavailable.

$ACK

Response when affirming a prior command. Used in response to $HIRE and $PING.

$ERROR

Response when the prior command failed due to an error. Generally used only with $QUEUE.

$QUEUE

Queues a message with the manager. If the service is at capacity, elicits a response of $DENY.

$DENY

Response sent after an attempt to $QUEUE when the system is at max capacity.

$DONE

Response sent after $QUEUE when the task has been completed without error.

$HIRE

Used internally by the Argon::Worker to announce its capacity when registering with the Argon::Manager.

AUTHOR

Jeff Ober <sysread@fastmail.fm>

COPYRIGHT AND LICENSE

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.