iNTERFACEWARE Products Manual > Installing and Using Chameleon > Language API Documentation > Chameleon Networking Components > LlpClient Class |
|
Looking for Iguana v.5 or v.6? Learn More or see the Help Center.
A programmer can use a LlpClient to send messages out to a remote host via LLP. The component allows only one connection through which messages are sent and received. Three methods on the LlpClient class are of particular interest:
By default, the HeaderBlock is set to 0x0B and the TrailerBlock is set to 0x1C followed by 0x0D. These are the standard Lower Layer Protocol (LLP) header and trailer characters. Event handlers are registered with the LlpClient to handle the asynchronous network events that will all be called back on the thread that the class was created on. An event handler is written by the developer. The five main event handlers used for the LlpClient object are:
If you are implementing an LLP client that is sending HL7 data using the LlpClient component, your application will most likely need to maintain some state information and require a timer to implement this type of algorithm:
For detailed documentation about the methods and events for LlpClient, consult the documentation specific to your language:
|