GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  OPENXPKI::SERVICE (3)

.ds Aq ’

Name

OpenXPKI::Service - base class for services.

CONTENTS

Description

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

    Methods

BUILD

is the constructor (called via new()). Fills the api attribute with a newly created API object.

talk

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

collect

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

set_timout

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).

get_API

Gets OpenXPKI::Server::API object.

__get_error

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

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 OPENXPKI::SERVICE (3) 2016-04-03

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.