NAVTOR SDK  v.3.0
Software Development Kit for fast and efficient development of ECDIS, ECS and generic marine applications
ICommunicationLineEvent Class Referenceabstract

Communication line events interface. More...

#include <communication_line_interfaces.h>

Inherits ISDKComponent.

Public Types

enum  EventID {
  kNone = 0, kStatusChanged, kStarting, kStarted,
  kConnecting, kConnected, kAcceptConnection, kConnectionAccepted,
  kStopping, kStopped, kSending, kSent,
  kReceiving, kReceived, kTimer
}
 

Public Member Functions

virtual SDKResult SDK_CALLTYPE OnCommunicationEvent (EventID id, SDKUIntptr cookie, const SDKAny *data)=0 throw ()
 Called on any communication event.
 

Detailed Description

Communication line events interface.

Member Enumeration Documentation

◆ EventID

enum EventID
Enumerator
kNone 

No id.

kStatusChanged 

Status of the line has changed (with error code)

kStarting 

Line thread is being started.

kStarted 

Line thread has started.

kConnecting 

Connecting to the line.

kConnected 

Connection established.

kAcceptConnection 

Connection request received.

kConnectionAccepted 

Connection request accepted (connection cookie)

kStopping 

Line thread is being stopped.

kStopped 

Line thread has stopped.

kSending 

Data is being sent (send cookie)

kSent 

Data has been sent (send cookie)

kReceiving 

Data is being received (connection cookie, data)

kReceived 

Data has been received (connection cookie, data)

kTimer 

Periodical timeout invoke.


The documentation for this class was generated from the following file: