Property | Type | Description | |
---|---|---|---|
RequestTimeout | System.TimeSpan | ||
SegmentTimeout | System.TimeSpan |
Method | Description | |
---|---|---|
Abort ( AbortReason reason ) : void |
Aborts the transaction
|
|
ClientTransaction ( Host host, TransactionManager manager, |
Constructs a new ClientTransaction instance
|
|
ClientTransaction ( Host host, TransactionManager manager, |
Constructs a new ClientTransaction instance
|
|
Dispose ( ) : void |
Disposes of the transaction
|
|
IDeviceSearchCallback ( ) : void |
Called when a device search times out
|
|
IDeviceSearchCallback ( DeviceTableEntry entry ) : void |
Called when the device search completes, and results in a device table entry
|
|
Matches ( |
Determines whether this transaction matches a supplied remote address and invoke id pair
|
|
OnAbort ( |
Called whenever an abort message is received for this transaction
|
|
OnComplexAck ( |
Called whenever a complex ack is received for this transaction
|
|
OnError ( |
Called whenever an error message is received for this transaction
|
|
OnReject ( |
Called whenever a reject message is received for this transaction
|
|
OnSegmentAck ( |
Called whenever a segment ack is received for this transaction
|
|
OnSimpleAck ( |
Called whenever a simple ack is received for this transaction
|
Method | Description | |
---|---|---|
_disposeAll ( ) : void |
Disposes of all resources held by the transaction
|
|
_inWindow ( byte sequenceNumber ) : int |
Determines whether the supplied sequence number is within the current window
|
|
_requestTick ( object state ) : void |
Called whenever the request timer ticks
|
|
_segmentTick ( object state ) : void |
Called whenever the segment timer ticks
|
|
_sendAbort ( AbortReason reason ) : void |
Sends an abort message
|
|
_sendInitialRequestSegment ( ) : void |
Sends the very first segment in the request
|
|
_sendSegmentAck ( bool nack = false ) : void |
Sends a segment ack
|
|
_startRequestTimer ( ) : void |
Starts the request timer
|
|
_startSegmentTimer ( ) : void |
Starts the segment timer
|
|
_stopRequestTimer ( ) : void |
Disposes of the request timer
|
|
_stopSegmentTimer ( ) : void |
Disposes of the segment timer
|
|
_transitionTo ( ClientState state ) : void |
Performs necessary transitions operations to move to the supplied state
|
public ClientTransaction ( Host host, TransactionManager manager, |
||
host | Host | The host that initiated the transaction |
manager | TransactionManager | The transaction manager |
handle | The handle used to control this transaction and process its response | |
invokeId | byte | The invocation id for the transaction |
deviceAddress | The address of the destination device | |
serviceChoice | byte | The service choice of the request |
request | byte | The request content |
return | System |
public ClientTransaction ( Host host, TransactionManager manager, |
||
host | Host | The host that initiated the transaction |
manager | TransactionManager | The transaction manager |
handle | The handle used to control this transaction and process its response | |
invokeId | byte | The invocation id for the transaction |
deviceInstance | uint | The instance of the destination device |
serviceChoice | byte | The service choice of the request |
request | byte | The request content |
return | System |
public IDeviceSearchCallback ( DeviceTableEntry entry ) : void | ||
entry | DeviceTableEntry | The entry that was found |
return | void |
public Matches ( |
||
address | The remote address | |
invokeId | byte | The invoke id |
return | bool |
public OnAbort ( |
||
message | The abort message | |
return | void |
public OnComplexAck ( |
||
message | The received message | |
segment | BufferSegment | The segment |
return | void |
public OnError ( |
||
message | The error message | |
return | void |
public OnReject ( |
||
message | The reject message | |
return | void |
public OnSegmentAck ( |
||
message | The segment ack message | |
return | void |
public OnSimpleAck ( |
||
message | The received message | |
return | void |
public static TimeSpan,System RequestTimeout | ||
return | System.TimeSpan |