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  -  NET::HL7::CONNECTION (3)

.ds Aq ’

NAME

Net::HL7::Connection - A HL7 connection

CONTENTS

SYNOPSIS

use Net::HL7::Connection; use Net::HL7::Request;

my $conn = new Net::HL7::Connection(’localhost’, 8089);

my $req = new Net::HL7::Request();

... set some request attributes

my $res = $conn->send($req);

$conn->close();

DESCRIPTION

The Net::HL7::Connection object represents the tcp connection to the HL7 message broker. The Connection has only two useful methods (apart from the constructor), send and close. The ’send’ method takes a Net::HL7::Request as argument, and returns a Net::HL7::Response. The send method can be used more than once, before the connection is closed.

FIELDS

The Connection object holds the following fields:
MESSAGE_PREFIX The prefix to be sent to the HL7 server to initiate the message. Defaults to \013.
MESSAGE_SUFFIX End of message signal for HL7 server. Defaults to \034\015.

METHODS

The following methods are available:
<B>B>$c<B> = new Net::HL7::Connection( B>$host<B>, B>$port<B>[, Timeout =B> timeout] )> Creates a connection to a HL7 server, or returns undef when a connection could not be established. timeout is optional, and will default to 10 seconds.
<B>send($request)B> Sends a Net::HL7::Request object over this connection.
<B>B>close()<B>B> Close the connection.

AUTHOR

D.A.Dokter <dokter@wyldebeast-wunderliebe.com>

LICENSE

Copyright (c) 2002 D.A.Dokter. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 NET::HL7::CONNECTION (3) 2005-04-20

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