Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages


home | help
OpenXPKI::Service(3)  User Contributed Perl Documentation OpenXPKI::Service(3)

       OpenXPKI::Service - base	class for services.

       Base class for service implementations. The protocol definition itself
       is left to the derived classes.




       Expects hash reference to send to the client. Serialized	data structure
       and sends message via the transport layer.


       Reads message from the client, deserializes the input and returns the
       corresponding data structure.


       Sets read timeout (seconds) for the collect() call. If no message is
       read within the specified timout	collect() terminates with an
       exception.  Default is undef which means	no timeout (wait forever).


       Expects the following named parameters:

       o   ERROR

	   a single error string or an array reference (please see the array
	   description below)

       o   ERRORS

	   a list of error like	described for the ERROR	parameter

       o   EXCEPTION

	   a single OpenXPKI::Exception

       o   EXCEPTIONS

	   an array of OpenXPKI::Exception

perl v5.32.0			  2020-08-29		  OpenXPKI::Service(3)

Name | Description

Want to link to this manual page? Use this URL:

home | help