C# Class Opc.Ua.NetworkTester.Server

A class which acts as proxy for a socket connection.
Afficher le fichier Open project: OPCFoundation/UA-.NET Class Usage Examples

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
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.

Method Details

Server() public méthode

Initializes the server with the listener and server url.
public Server ( string listenerUrl, string serverUrl ) : System
listenerUrl string
serverUrl string
Résultat System

Start() public méthode

Starts listening at the specified port.
public Start ( ) : void
Résultat void

Stop() public méthode

Stops listening.
public Stop ( ) : void
Résultat void