IPC::Door::Server - door server object for Solaris (>= 2.6)
use IPC::Door::Server; $door = '/path/to/door'; $dserver = new IPC::Door::Server($door, \&mysub);
IPC::Door::Server is a Perl class for door servers. It creates a door $door and listens to client requests through it.
IPC::Door::Server
$door
When a door client sends a request through its door, the IPC::Door::Server passes the data to &mysub, and sends its return value to the client.
&mysub
Each IPC::Door::Server object is associated with a server process (&mysub throughout this documentation). &mysub must take exactly one scalar and return exactly one scalar.
Currently, these arguments can't be a reference or any other data structure. See <IPC::Door/"KNOWN ISSUES">.
When an IPC::Door::Client process makes a call, the IPC::Door::Server process sets 5 special variables as a result of door_cred/doore_ucred (3DOOR) call. These corresponds to self-explanatory credentials of the client process: $IPC::Door::CLIENT_EUID, $IPC::Door::CLIENT_EGID, $IPC::Door::CLIENT_RUID, $IPC::Door::CLIENT_RGID, and $IPC::Door::CLIENT_PID.
IPC::Door::Client
door_cred
doore_ucred
$IPC::Door::CLIENT_EUID
$IPC::Door::CLIENT_EGID
$IPC::Door::CLIENT_RUID
$IPC::Door::CLIENT_RGID
$IPC::Door::CLIENT_PID
(These names may change in the future releases of this module.)
IPC::Door
ASARI Hirotsugu <asarih at cpan dot org>
http://www.asari.net/perl
Copyright 2003-2005 by ASARI Hirotsugu
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install IPC::Door, copy and paste the appropriate command in to your terminal.
cpanm
cpanm IPC::Door
CPAN shell
perl -MCPAN -e shell install IPC::Door
For more information on module installation, please visit the detailed CPAN module installation guide.