Declaration

procedure Write(aConnection: Pointer; aTransportID: TnxTransportID; aSessionID: TnxSessionID; aRequestID: TnxRequestID; aMsgID: TnxMsgID; aMsgType: Byte; aErrorCode: TnxResult; aCompressType: Byte; aUncompressedSize: TnxWord32; aBuffer: Pointer; aBufferSize: TnxWord32); virtual;

 
Description

This functions transfers the given information to the other connection point by wrapping it into a TnxDataMessage and sending it over an open connection.

 
Parameters

aConnection: Pointer

the connection to be used

aTransportID: TnxTransportID

generally the current transport id

aRequestID: TnxRequestID

the request id

aMsgID: TnxMsgID

the message id

aMsgType: Byte

the type of the message

aErrorCode: TnxResult

the error code to be transferred

aCompressType: Byte

the type of compression used for the data

aUncompressedSize: TnxWord32

the uncompressed size of the message

aBuffer: Pointer

the data

aBufferSize: TnxWord32

the length of aBuffer in bytes

Home | Site Contents | Documentation | NexusDB Manual V4 | Class Reference | Symbol Reference | Classes | TnxBaseTransport