C# 클래스 IMB3.TConnection

상속: TConnectionPlatform
파일 보기 프로젝트 열기: TNOCS/csTouch 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
AutoPublish bool
efPublishers System.Int32
efSubscribers System.Int32
efTimers System.Int32
statusBusy System.Int32
statusCalculating System.Int32
statusReady System.Int32

공개 메소드들

메소드 설명
Close ( ) : void
ConvertEscapes ( byte aBuffer ) : string
ConvertToHex ( byte aBuffer ) : string
LogWriteLn ( string aLogEventName, string aLine, TEventEntry aLevel ) : int
Open ( string aHost, int aPort, bool aStartReadingThread = true ) : bool
Publish ( string aEventName, bool aUseFederationPrefix = true ) : TEventEntry
RemoveStatus ( ) : void
RequestAllVariablesFromImb ( ) : void
RequestEventname ( string aEventNameFilter, Int32 aEventFilters ) : int
SetState ( TConnectionState aState ) : void
SetThrottle ( Int32 aThrottle ) : void
SetVariableValue ( string aVarName, TByteBuffer aVarValue ) : void
SetVariableValue ( string aVarName, TByteBuffer aVarValue, TVarPrefix aVarPrefix ) : void
SetVariableValue ( string aVarName, string aVarValue ) : void
SetVariableValue ( string aVarName, string aVarValue, TVarPrefix aVarPrefix ) : void
SignalBuffer ( int aEventID, Int32 aBufferID, byte aBuffer, Int32 aEventFlags ) : int
SignalBuffer ( string aEventName, Int32 aBufferID, byte aBuffer, Int32 aEventFlags, bool aUseFederationPrefix = true ) : int
SignalChangeFederation ( Int32 aNewFederationID, string aNewFederation ) : int
SignalChangeObject ( int aEventID, Int32 aAction, Int32 aObjectID, string aAttribute = "" ) : int
SignalChangeObject ( string aEventName, Int32 aAction, Int32 aObjectID, string aAttribute = "", bool aUseFederationPrefix = true ) : int
SignalEvent ( int aEventID, TEventEntry aEventKind, TByteBuffer aEventPayload, bool aUseFederationPrefix = true ) : int
SignalEvent ( string aEventName, TEventEntry aEventKind, TByteBuffer aEventPayload, bool aUseFederationPrefix = true ) : int
SignalFocus ( double aX, double aY ) : int
SignalIntString ( string eventName, int cmd, string message ) : int
SignalStream ( int aEventID, string aStreamName, Stream aStream ) : int
SignalStream ( string aEventName, string aStreamName, Stream aStream, bool aUseFederationPrefix = true ) : int
SignalString ( string eventName, string message ) : int
Subscribe ( string aEventName, bool aUseFederationPrefix = true ) : TEventEntry
TConnection ( string aHost, int aPort, string aOwnerName, int aOwnerID, string aFederation = DefaultFederation, bool aIMB2Compatible = true, bool aStartReadingThread = true ) : System
UnPublish ( string aEventName, bool aUseFederationPrefix = true ) : void
UnSubscribe ( string aEventName, bool aUseFederationPrefix = true ) : void
UpdateStatus ( Int32 aProgress, Int32 aStatus ) : void

보호된 메소드들

메소드 설명
HandleCommand ( TCommands aCommand, TByteBuffer aPayload ) : void

비공개 메소드들

메소드 설명
AddEvent ( string aEventName ) : TEventEntry
AddEventL ( string aEventName ) : TEventEntry
EventIDToEventL ( Int32 aEventID ) : TEventEntry
FindEventAutoPublishL ( string aEventName ) : TEventEntry
FindEventL ( string aEventName ) : TEventEntry
FindEventParentL ( string aEventName ) : TEventEntry
FindOrAddEventL ( string aEventName ) : TEventEntry
GetUniqueClientID ( ) : int
HandleCommandEvent ( TByteBuffer aPayload ) : void
HandleCommandOther ( TCommands aCommand, TByteBuffer aPayload ) : void
HandleCommandVariable ( TByteBuffer aPayload ) : void
HandleEventNames ( TByteBuffer aPayload ) : void
HandleSubAndPub ( TCommands aCommand, TByteBuffer aPayload ) : void
PrefixFederation ( string aName, bool aUseFederationPrefix = true ) : string
RequestUniqueClientID ( ) : int
SetOwner ( ) : int
WriteCommand ( TCommands aCommand, byte aPayload ) : int

메소드 상세

Close() 공개 메소드

public Close ( ) : void
리턴 void

ConvertEscapes() 공개 정적인 메소드

public static ConvertEscapes ( byte aBuffer ) : string
aBuffer byte
리턴 string

ConvertToHex() 공개 정적인 메소드

public static ConvertToHex ( byte aBuffer ) : string
aBuffer byte
리턴 string

HandleCommand() 보호된 메소드

protected HandleCommand ( TCommands aCommand, TByteBuffer aPayload ) : void
aCommand TCommands
aPayload IMB3.ByteBuffers.TByteBuffer
리턴 void

LogWriteLn() 공개 메소드

public LogWriteLn ( string aLogEventName, string aLine, TEventEntry aLevel ) : int
aLogEventName string
aLine string
aLevel TEventEntry
리턴 int

Open() 공개 메소드

public Open ( string aHost, int aPort, bool aStartReadingThread = true ) : bool
aHost string
aPort int
aStartReadingThread bool
리턴 bool

Publish() 공개 메소드

public Publish ( string aEventName, bool aUseFederationPrefix = true ) : TEventEntry
aEventName string
aUseFederationPrefix bool
리턴 TEventEntry

RemoveStatus() 공개 메소드

public RemoveStatus ( ) : void
리턴 void

RequestAllVariablesFromImb() 공개 메소드

public RequestAllVariablesFromImb ( ) : void
리턴 void

RequestEventname() 공개 메소드

public RequestEventname ( string aEventNameFilter, Int32 aEventFilters ) : int
aEventNameFilter string
aEventFilters System.Int32
리턴 int

SetState() 공개 메소드

public SetState ( TConnectionState aState ) : void
aState TConnectionState
리턴 void

SetThrottle() 공개 메소드

public SetThrottle ( Int32 aThrottle ) : void
aThrottle System.Int32
리턴 void

SetVariableValue() 공개 메소드

public SetVariableValue ( string aVarName, TByteBuffer aVarValue ) : void
aVarName string
aVarValue IMB3.ByteBuffers.TByteBuffer
리턴 void

SetVariableValue() 공개 메소드

public SetVariableValue ( string aVarName, TByteBuffer aVarValue, TVarPrefix aVarPrefix ) : void
aVarName string
aVarValue IMB3.ByteBuffers.TByteBuffer
aVarPrefix TVarPrefix
리턴 void

SetVariableValue() 공개 메소드

public SetVariableValue ( string aVarName, string aVarValue ) : void
aVarName string
aVarValue string
리턴 void

SetVariableValue() 공개 메소드

public SetVariableValue ( string aVarName, string aVarValue, TVarPrefix aVarPrefix ) : void
aVarName string
aVarValue string
aVarPrefix TVarPrefix
리턴 void

SignalBuffer() 공개 메소드

public SignalBuffer ( int aEventID, Int32 aBufferID, byte aBuffer, Int32 aEventFlags ) : int
aEventID int
aBufferID System.Int32
aBuffer byte
aEventFlags System.Int32
리턴 int

SignalBuffer() 공개 메소드

public SignalBuffer ( string aEventName, Int32 aBufferID, byte aBuffer, Int32 aEventFlags, bool aUseFederationPrefix = true ) : int
aEventName string
aBufferID System.Int32
aBuffer byte
aEventFlags System.Int32
aUseFederationPrefix bool
리턴 int

SignalChangeFederation() 공개 메소드

public SignalChangeFederation ( Int32 aNewFederationID, string aNewFederation ) : int
aNewFederationID System.Int32
aNewFederation string
리턴 int

SignalChangeObject() 공개 메소드

public SignalChangeObject ( int aEventID, Int32 aAction, Int32 aObjectID, string aAttribute = "" ) : int
aEventID int
aAction System.Int32
aObjectID System.Int32
aAttribute string
리턴 int

SignalChangeObject() 공개 메소드

public SignalChangeObject ( string aEventName, Int32 aAction, Int32 aObjectID, string aAttribute = "", bool aUseFederationPrefix = true ) : int
aEventName string
aAction System.Int32
aObjectID System.Int32
aAttribute string
aUseFederationPrefix bool
리턴 int

SignalEvent() 공개 메소드

public SignalEvent ( int aEventID, TEventEntry aEventKind, TByteBuffer aEventPayload, bool aUseFederationPrefix = true ) : int
aEventID int
aEventKind TEventEntry
aEventPayload IMB3.ByteBuffers.TByteBuffer
aUseFederationPrefix bool
리턴 int

SignalEvent() 공개 메소드

public SignalEvent ( string aEventName, TEventEntry aEventKind, TByteBuffer aEventPayload, bool aUseFederationPrefix = true ) : int
aEventName string
aEventKind TEventEntry
aEventPayload IMB3.ByteBuffers.TByteBuffer
aUseFederationPrefix bool
리턴 int

SignalFocus() 공개 메소드

public SignalFocus ( double aX, double aY ) : int
aX double
aY double
리턴 int

SignalIntString() 공개 메소드

public SignalIntString ( string eventName, int cmd, string message ) : int
eventName string
cmd int
message string
리턴 int

SignalStream() 공개 메소드

public SignalStream ( int aEventID, string aStreamName, Stream aStream ) : int
aEventID int
aStreamName string
aStream Stream
리턴 int

SignalStream() 공개 메소드

public SignalStream ( string aEventName, string aStreamName, Stream aStream, bool aUseFederationPrefix = true ) : int
aEventName string
aStreamName string
aStream Stream
aUseFederationPrefix bool
리턴 int

SignalString() 공개 메소드

public SignalString ( string eventName, string message ) : int
eventName string
message string
리턴 int

Subscribe() 공개 메소드

public Subscribe ( string aEventName, bool aUseFederationPrefix = true ) : TEventEntry
aEventName string
aUseFederationPrefix bool
리턴 TEventEntry

TConnection() 공개 메소드

public TConnection ( string aHost, int aPort, string aOwnerName, int aOwnerID, string aFederation = DefaultFederation, bool aIMB2Compatible = true, bool aStartReadingThread = true ) : System
aHost string
aPort int
aOwnerName string
aOwnerID int
aFederation string
aIMB2Compatible bool
aStartReadingThread bool
리턴 System

UnPublish() 공개 메소드

public UnPublish ( string aEventName, bool aUseFederationPrefix = true ) : void
aEventName string
aUseFederationPrefix bool
리턴 void

UnSubscribe() 공개 메소드

public UnSubscribe ( string aEventName, bool aUseFederationPrefix = true ) : void
aEventName string
aUseFederationPrefix bool
리턴 void

UpdateStatus() 공개 메소드

public UpdateStatus ( Int32 aProgress, Int32 aStatus ) : void
aProgress System.Int32
aStatus System.Int32
리턴 void

프로퍼티 상세

AutoPublish 공개적으로 프로퍼티

public bool AutoPublish
리턴 bool

efPublishers 공개적으로 프로퍼티

public Int32,System efPublishers
리턴 System.Int32

efSubscribers 공개적으로 프로퍼티

public Int32,System efSubscribers
리턴 System.Int32

efTimers 공개적으로 프로퍼티

public Int32,System efTimers
리턴 System.Int32

statusBusy 공개적으로 정적으로 프로퍼티

public static Int32,System statusBusy
리턴 System.Int32

statusCalculating 공개적으로 정적으로 프로퍼티

public static Int32,System statusCalculating
리턴 System.Int32

statusReady 공개적으로 정적으로 프로퍼티

public static Int32,System statusReady
리턴 System.Int32