Свойство | Тип | Описание | |
---|---|---|---|
BeginInit | void | ||
EndInit | void | ||
RemotingClient_ConnectionAttempt | void | ||
RemotingClient_ConnectionEstablished | void | ||
RemotingClient_ConnectionException | void | ||
RemotingClient_ConnectionTerminated | void | ||
RemotingClient_ReceiveDataComplete | void | ||
UpdateStatus | void |
Метод | Описание | |
---|---|---|
ClientHelper ( ) : GSF.Communication |
Initializes a new instance of the ClientHelper class.
|
|
ClientHelper ( IContainer container ) : GSF.Communication |
Initializes a new instance of the ClientHelper class.
|
|
Connect ( ) : void |
Connects RemotingClient to ServiceHelper.RemotingServer and wait until authentication is complete.
|
|
Disconnect ( ) : void |
Disconnects RemotingClient from ServiceHelper.RemotingServer.
|
|
Initialize ( ) : void |
Initializes the ClientHelper. Initialize() is to be called by user-code directly only if the ClientHelper is not consumed through the designer surface of the IDE. |
|
LoadSettings ( ) : void |
Loads saved settings for the ClientHelper from the config file if the PersistSettings property is set to true.
|
|
PretendRequest ( string requestCommand ) : GSF.ServiceProcess.ClientRequestInfo |
Returns an ClientRequestInfo object for the specified requestCommand that can be used to invoke ServiceHelper.ClientRequestHandlers manually as if the request was sent by a ClientHelper remotely.
|
|
SaveSettings ( ) : void |
Saves settings for the ClientHelper to the config file if the PersistSettings property is set to true.
|
|
SendRequest ( |
Sends a request to the ServiceHelper using RemotingClient.
|
|
SendRequest ( string request ) : void |
Sends a request to the ServiceHelper using RemotingClient.
|
|
TryParseActionableResponse ( |
Attempts to parse an actionable response sent from the service.
|
Метод | Описание | |
---|---|---|
Dispose ( bool disposing ) : void |
Releases the unmanaged resources used by the ClientHelper object and optionally releases the managed resources.
|
|
OnAuthenticationFailure ( ) : void |
Raises the AuthenticationFailure event.
|
|
OnAuthenticationSuccess ( ) : void |
Raises the AuthenticationSuccess event.
|
|
OnProcessStateChanged ( ObjectState |
Raises the ProcessStateChanged event.
|
|
OnReceivedServiceResponse ( |
Raises the ReceivedServiceResponse event.
|
|
OnReceivedServiceUpdate ( UpdateType type, string update ) : void |
Raises the ReceivedServiceUpdate event.
|
|
OnServiceStateChanged ( ObjectState |
Raises the ServiceStateChanged event.
|
|
OnTelnetSessionEstablished ( ) : void |
Raises the TelnetSessionEstablished event.
|
|
OnTelnetSessionTerminated ( ) : void |
Raises the TelnetSessionTerminated event.
|
Метод | Описание | |
---|---|---|
BeginInit ( ) : void | ||
EndInit ( ) : void | ||
RemotingClient_ConnectionAttempt ( object sender, |
||
RemotingClient_ConnectionEstablished ( object sender, |
||
RemotingClient_ConnectionException ( object sender, EventArgs |
||
RemotingClient_ConnectionTerminated ( object sender, |
||
RemotingClient_ReceiveDataComplete ( object sender, int>.EventArgs |
||
UpdateStatus ( UpdateType type, string message ) : void |
public ClientHelper ( ) : GSF.Communication | ||
Результат | GSF.Communication |
public ClientHelper ( IContainer container ) : GSF.Communication | ||
container | IContainer | |
Результат | GSF.Communication |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | true to release both managed and unmanaged resources; false to release only unmanaged resources. |
Результат | void |
protected OnAuthenticationFailure ( ) : void | ||
Результат | void |
protected OnAuthenticationSuccess ( ) : void | ||
Результат | void |
protected OnProcessStateChanged ( ObjectState |
||
state | ObjectState |
New |
Результат | void |
protected OnReceivedServiceResponse ( |
||
response | ||
Результат | void |
protected OnReceivedServiceUpdate ( UpdateType type, string update ) : void | ||
type | UpdateType | One of the |
update | string | Update message received. |
Результат | void |
protected OnServiceStateChanged ( ObjectState |
||
state | ObjectState |
New |
Результат | void |
protected OnTelnetSessionEstablished ( ) : void | ||
Результат | void |
protected OnTelnetSessionTerminated ( ) : void | ||
Результат | void |
public static PretendRequest ( string requestCommand ) : GSF.ServiceProcess.ClientRequestInfo | ||
requestCommand | string | Command for which an |
Результат | GSF.ServiceProcess.ClientRequestInfo |
public SendRequest ( |
||
request | ||
Результат | void |
public SendRequest ( string request ) : void | ||
request | string | Request text to be sent. |
Результат | void |
public static TryParseActionableResponse ( |
||
serviceResponse | ||
sourceCommand | string | Command that invoked |
responseSuccess | bool | Boolean success state of |
Результат | bool |