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::TRANSPORT::SIMPLE (3)

.ds Aq ’

Name

OpenXPKI::Transport::Simple - basic transport protocol.

CONTENTS

Description

This is the interface specification for all common OpenXPKI transport protocol implementations. Please note that every read operation returns an interpretable answer. We do not return partial messages.

To handle utf8 transparently, we assume that data stream are <B>alwaysB> utf8 sequences. Therefore the transport will corrupt data that might be missinterpreted by the utf8::upgrade pragma and we strongly recommend to base64 encode all data that is neither UTF8 nor plain ASCII!

Functions

    new

accepts only INFILE and OUTFILE as parameters. It takes over the complete communication via STDIN and STDOUT. If INFILE is specified then messages are written to INFILE instead of STDIN. If OUTFILE is present than messages are read from OUTFILE instead of STDOUT.

Example:

my $transport = OpenXPKI::Transport::Simple->new ({});

    close

close the connection and calls DESTROY.

    write

send a message.

    read

read a message.
Search for    or go to Top of page |  Section 3 |  Main Index


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

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