iNTERFACEWARE Products Manual > Installing and Using Chameleon > Language API Documentation > Chameleon Networking Components > LlpServer Class |
|
Looking for Iguana v.5 or v.6? Learn More or see the Help Center.
The LlpServer can be used to listen on a port and receive messages via LLP from many client hosts. Each host client connection is bi-directional allowing the receiving and sending of HL7 messages. Two methods on the LlpServer class are of particular interest:
Event handlers are registered with the LlpServer to handle the asynchronous network events that will all be called back on the current thread. An event handler is written by the developer. The six main event handlers used for the LlpServer object are:
Most of these events result in a discrete action regarding a specific connection. For this reason, most of these events pass an LlpConnection parameter. This parameter provides information about the client connection and methods to send messages back or disconnect from the client.
For detailed information about the methods and events for the LlpServer class, consult the documentation for your language:
|