C# 클래스 Opc.Ua.NetworkTester.Server

A class which acts as proxy for a socket connection.
파일 보기 프로젝트 열기: OPCFoundation/UA-.NET 1 사용 예제들

공개 메소드들

메소드 설명
Server ( string listenerUrl, string serverUrl ) : System

Initializes the server with the listener and server url.

Start ( ) : void

Starts listening at the specified port.

Stop ( ) : void

Stops listening.

비공개 메소드들

메소드 설명
Close ( Connection connection ) : void

Closes the connection.

Connect ( Socket incomingSocket, Uri uri ) : void

Connects to the server.

EndConnect ( IAsyncResult result ) : void

Called to complete an asynchronous connect operation.

OnAccept ( IAsyncResult result ) : void

Handles a new connection.

OnReadFromClient ( IAsyncResult result ) : void

Called to complete an asynchronous read operation.

OnReadFromServer ( IAsyncResult result ) : void

Called to complete an asynchronous read operation.

메소드 상세

Server() 공개 메소드

Initializes the server with the listener and server url.
public Server ( string listenerUrl, string serverUrl ) : System
listenerUrl string
serverUrl string
리턴 System

Start() 공개 메소드

Starts listening at the specified port.
public Start ( ) : void
리턴 void

Stop() 공개 메소드

Stops listening.
public Stop ( ) : void
리턴 void