C# Class IMB3.TEventEntry

Show file Open project: TNOCS/csTouch Class Usage Examples

Public Properties

Property Type Description
ID System.Int32
connection TConnection

Private Properties

Property Type Description
CopyHandlersFrom void
HandleBuffer void
HandleChangeObject void
HandleChangeObjectData void
HandleEvent void
HandleOnSubAndPub void
HandleStreamEvent void
HandleTimerCmd void
HandleTimerTick void
Publish void
ReadBytesFromStream int
Subscribe void
TimerAcknowledgeCmd int
TimerBasicCmd int
UnPublish void
UnSubscribe void

Public Methods

Method Description
ClearAllStreams ( ) : void
LogWriteLn ( string aLine, TLogLevel aLevel ) : int
SignalBuffer ( Int32 aBufferID, byte aBuffer, Int32 aEventFlags ) : int
SignalChangeObject ( int aAction, int aObjectID, string aAttribute = "" ) : int
SignalEvent ( TEventKind aEventKind, byte aEventPayload ) : int
SignalStream ( string aStreamName, Stream aStream ) : int
SignalString ( string p ) : int
TEventEntry ( TConnection aConnection, Int32 aID, string aEventName ) : System
TimerAcknowledge ( string aTimerName, string aClientName, int aProposedTimeStep ) : int
TimerAcknowledgeAdd ( string aTimerName, string aClientName ) : int
TimerAcknowledgeRemove ( string aTimerName, string aClientName ) : int
TimerCancel ( string aTimerName ) : int
TimerCreate ( string aTimerName, System.Int64 aStartTimeUTCorRelFT, int aResolutionms, double aSpeedFactor, int aRepeatCount = trcInfinite ) : int
TimerPrepare ( string aTimerName ) : int
TimerSetSpeed ( string aTimerName, double aSpeedFactor ) : int
TimerStart ( string aTimerName ) : int
TimerStop ( string aTimerName ) : int

Private Methods

Method Description
CopyHandlersFrom ( TEventEntry aEventEntry ) : void
HandleBuffer ( Int32 aEventTick, TByteBuffer aPayload ) : void
HandleChangeObject ( TByteBuffer aPayload ) : void
HandleChangeObjectData ( TByteBuffer aPayload ) : void
HandleEvent ( TByteBuffer aPayload ) : void
HandleOnSubAndPub ( TConnectionPlatform aCommand ) : void
HandleStreamEvent ( TEventKind aEventKind, TByteBuffer aPayload ) : void
HandleTimerCmd ( TEventKind aEventKind, TByteBuffer aPayload ) : void
HandleTimerTick ( TByteBuffer aPayload ) : void
Publish ( ) : void
ReadBytesFromStream ( TByteBuffer aBuffer, Stream aStream ) : int
Subscribe ( ) : void
TimerAcknowledgeCmd ( TEventKind aEventKind, string aTimerName, string aClientName ) : int
TimerBasicCmd ( TEventKind aEventKind, string aTimerName ) : int
UnPublish ( bool aChangeLocalState = true ) : void
UnSubscribe ( bool aChangeLocalState = true ) : void

Method Details

ClearAllStreams() public method

public ClearAllStreams ( ) : void
return void

LogWriteLn() public method

public LogWriteLn ( string aLine, TLogLevel aLevel ) : int
aLine string
aLevel TLogLevel
return int

SignalBuffer() public method

public SignalBuffer ( Int32 aBufferID, byte aBuffer, Int32 aEventFlags ) : int
aBufferID System.Int32
aBuffer byte
aEventFlags System.Int32
return int

SignalChangeObject() public method

public SignalChangeObject ( int aAction, int aObjectID, string aAttribute = "" ) : int
aAction int
aObjectID int
aAttribute string
return int

SignalEvent() public method

public SignalEvent ( TEventKind aEventKind, byte aEventPayload ) : int
aEventKind TEventKind
aEventPayload byte
return int

SignalStream() public method

public SignalStream ( string aStreamName, Stream aStream ) : int
aStreamName string
aStream Stream
return int

SignalString() public method

public SignalString ( string p ) : int
p string
return int

TEventEntry() public method

public TEventEntry ( TConnection aConnection, Int32 aID, string aEventName ) : System
aConnection TConnection
aID System.Int32
aEventName string
return System

TimerAcknowledge() public method

public TimerAcknowledge ( string aTimerName, string aClientName, int aProposedTimeStep ) : int
aTimerName string
aClientName string
aProposedTimeStep int
return int

TimerAcknowledgeAdd() public method

public TimerAcknowledgeAdd ( string aTimerName, string aClientName ) : int
aTimerName string
aClientName string
return int

TimerAcknowledgeRemove() public method

public TimerAcknowledgeRemove ( string aTimerName, string aClientName ) : int
aTimerName string
aClientName string
return int

TimerCancel() public method

public TimerCancel ( string aTimerName ) : int
aTimerName string
return int

TimerCreate() public method

public TimerCreate ( string aTimerName, System.Int64 aStartTimeUTCorRelFT, int aResolutionms, double aSpeedFactor, int aRepeatCount = trcInfinite ) : int
aTimerName string
aStartTimeUTCorRelFT System.Int64
aResolutionms int
aSpeedFactor double
aRepeatCount int
return int

TimerPrepare() public method

public TimerPrepare ( string aTimerName ) : int
aTimerName string
return int

TimerSetSpeed() public method

public TimerSetSpeed ( string aTimerName, double aSpeedFactor ) : int
aTimerName string
aSpeedFactor double
return int

TimerStart() public method

public TimerStart ( string aTimerName ) : int
aTimerName string
return int

TimerStop() public method

public TimerStop ( string aTimerName ) : int
aTimerName string
return int

Property Details

ID public property

public Int32,System ID
return System.Int32

connection public property

public TConnection,IMB3 connection
return TConnection