DOFServer is associated with a DOF.
Inheritance Hierarchy
org.opendof.core.oalDOFServer
Namespace: org.opendof.core.oal
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax
C#
public sealed class DOFServer
The DOFServer type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() | addStateListener |
Add a
StateListener
. The stateListener will be notified immediately with the current state of the server
and then on subsequent server state changes.
There is a possible race condition if you add the listener right after calling
start(int)
. That is, your
listener may be called twice with the "started" state. It is preferable to add the listener before
calling start(). Your listener will then be called twice: once with a "!started" state and then again with "started".
|
![]() | beginRestart(Int32) | Restart a server, waiting up to timeout for the server to be restarted. |
![]() | beginRestart(Int32, DOFServerStartOperationListener) | Restart a server, waiting up to timeout for the server to be restarted. |
![]() | beginRestart(Int32, DOFServerStartOperationListener, Object) | Restart a server, waiting up to timeout for the server to be restarted. |
![]() | beginStart(Int32) | Start a server, waiting up to timeout for the server to be started. |
![]() | beginStart(Int32, DOFServerStartOperationListener) | Start a server, waiting up to timeout for the server to be started. |
![]() | beginStart(Int32, DOFServerStartOperationListener, Object) | Start a server, waiting up to timeout for the server to be started. |
![]() | createConnection | Create one of the following connections related to this server. |
![]() | createServer | Create a server related to this server. |
![]() | destroy | Destroy is used to clean up resources allocated during DOFServer creation.
|
![]() | Equals | (Overrides ObjectEquals(Object).) |
![]() | getConnectionCount | Get the current number of connections connected to this server. |
![]() | getConnections | Get the list of connections connected to this server. |
![]() | GetHashCode | (Overrides ObjectGetHashCode.) |
![]() | getRelatedServer | Multicast groups require a related DOFServer. |
![]() | getState | Get the current instantaneous state of the server. |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | isStarted | Return whether the server is currently started. |
![]() | removeStateListener |
Remove a
StateListener
from this server. The listener will soon
stop receiving updates.
|
![]() | restart | Restarts the server synchronously, but only waiting for the specified timeout.
|
![]() | start | Starts the server synchronously, but only waiting for the specified timeout.
|
![]() | stop | Stops the server. |
![]() | ToString | (Overrides ObjectToString.) |
Remarks
See Also