C# Class Org.IdentityConnectors.Framework.Server.ConnectorServer

Connector server interface.
Show file Open project: Tirasa/ConnId Class Usage Examples

Public Methods

Method Description
DumpRequests ( ) : void

Produces a thread dump of all pending requests

IsStarted ( ) : bool

Return true if the server is started.

Note that started is a logical state (start method has been called). It does not necessarily reflect the health of the server

NewInstance ( ) : ConnectorServer

Get the singleton instance of the ConnectorServer.

Start ( ) : void

Starts the server.

All server settings must be configured prior to calling. The following methods are required to be called: Port KeyHash

StartTime ( ) : long

Gets the time when the servers was started last time.

Stop ( ) : void

Stops the server gracefully.

Returns when all in-progress connections have been serviced.

Private Methods

Method Description
AssertNotStarted ( ) : void

Method Details

DumpRequests() public abstract method

Produces a thread dump of all pending requests
public abstract DumpRequests ( ) : void
return void

IsStarted() public abstract method

Return true if the server is started.
Note that started is a logical state (start method has been called). It does not necessarily reflect the health of the server
public abstract IsStarted ( ) : bool
return bool

NewInstance() public static method

Get the singleton instance of the ConnectorServer.
public static NewInstance ( ) : ConnectorServer
return ConnectorServer

Start() public abstract method

Starts the server.
All server settings must be configured prior to calling. The following methods are required to be called: Port KeyHash
public abstract Start ( ) : void
return void

StartTime() public abstract method

Gets the time when the servers was started last time.
public abstract StartTime ( ) : long
return long

Stop() public abstract method

Stops the server gracefully.
Returns when all in-progress connections have been serviced.
public abstract Stop ( ) : void
return void