Click or drag to resize

ProtocolServer Methods

The ProtocolServer type exposes the following members.

Methods
 NameDescription
Public methodStatic memberOpen(OpenParams, ServiceConnectionAsync, CallbackContext) Creates a server and starts accepting connections, calling 'serviceConnection' with each connection established. This method returns after the server has been established, leaving the accepting and servicing of connections to a background thread.
Public methodStatic memberOpen(ProtocolAddress, IEnumerableType, ServiceConnectionAsync, CallbackContext) Creates a server and starts accepting connections, calling 'serviceConnection' with each connection established. This method returns after the server has been established, leaving the accepting and servicing of connections to a background thread.
Public methodStatic memberOpenT(OpenParams, NotifyDataChangedEventHandler, CallbackContext) Creates a server and starts accepting connections, calling dataChangedHandler with data from each connection as it arrives. This method returns after the server has been established, leaving the accepting and servicing of connections to a background thread.
Public methodStatic memberOpenT(OpenParams, ServiceClientAsyncT, CallbackContext) Creates a server and starts accepting connections, calling 'serviceConnection' with each connection established. This method returns after the server has been established, leaving the accepting and servicing of connections to a background thread.
Public methodStatic memberOpenT(ProtocolAddress, ServiceClientAsyncT, CallbackContext) Creates a server and starts accepting connections, calling 'serviceConnection' with each connection established. This method returns after the server has been established, leaving the accepting and servicing of connections to a background thread.
Public methodStatic memberOpenT(ProtocolAddress, NotifyDataChangedEventHandler, CallbackContext, Object) Creates a server and starts accepting connections, calling dataChangedHandler with data from each connection as it arrives. This method returns after the server has been established, leaving the accepting and servicing of connections to a background thread.
Public methodStatic memberOpenAsync(Boolean, OpenParams, ServiceConnectionAsync, CallbackContext) Creates a server and starts accepting connections, calling 'serviceConnection' with each connection established. This method returns after the server has been established, leaving the accepting and servicing of connections to a background thread.
Public methodStatic memberOpenAsync(Boolean, OpenParams, Flags, ServiceConnectionAsync, CallbackContext) Creates a server and starts accepting connections, calling 'serviceConnection' with each connection established. This method returns after the server has been established, leaving the accepting and servicing of connections to a background thread.
Public methodStatic memberOpenAsync(Boolean, ProtocolAddress, IEnumerableType, ServiceConnectionAsync, CallbackContext) Creates a server and starts accepting connections, calling 'serviceConnection' with each connection established. This method returns after the server has been established, leaving the accepting and servicing of connections to a background thread.
Public methodStatic memberOpenAsyncT(Boolean, OpenParams, NotifyDataChangedEventHandler, CallbackContext) Creates a server and starts accepting connections, calling dataChangedHandler with data from each connection as it arrives. This method returns after the server has been established, leaving the accepting and servicing of connections to a background thread.
Public methodStatic memberOpenAsyncT(Boolean, OpenParams, ServiceClientAsyncT, CallbackContext) Creates a server and starts accepting connections, calling 'serviceConnection' with each connection established. This method returns after the server has been established, leaving the accepting and servicing of connections to a background thread.
Public methodStatic memberOpenAsyncT(Boolean, ProtocolAddress, ServiceClientAsyncT, CallbackContext) Creates a server and starts accepting connections, calling 'serviceConnection' with each connection established. This method returns after the server has been established, leaving the accepting and servicing of connections to a background thread.
Public methodStatic memberOpenAsyncT(Boolean, OpenParams, Flags, ServiceClientAsyncT, CallbackContext) Creates a server and starts accepting connections, calling 'serviceConnection' with each connection established. This method returns after the server has been established, leaving the accepting and servicing of connections to a background thread.
Public methodStatic memberOpenAsyncT(Boolean, OpenParams, ProtocolProperties, ServiceClientAsyncT, CallbackContext) Creates a server with defined properties and starts accepting connections, calling 'serviceConnection' with each connection established. This method returns after the server has been established, leaving the accepting and servicing of connections to a background thread.
Public methodStatic memberOpenAsyncT(Boolean, ProtocolAddress, NotifyDataChangedEventHandler, CallbackContext, Object) Creates a server and starts accepting connections, calling dataChangedHandler with data from each connection as it arrives. This method returns after the server has been established, leaving the accepting and servicing of connections to a background thread.
Top
See Also