Net::HL7::Connection - A HL7 connection
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();
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.
The Connection object holds the following fields:
The following methods are available:
D.A.Dokter <dokter@wyldebeast-wunderliebe.com>
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.