프로퍼티 | 타입 | 설명 | |
---|---|---|---|
_active | bool |
메소드 | 설명 | |
---|---|---|
ConnectionDesired ( Address addr ) : bool |
Returns true if a connection to the address specified is desirable, false otherwise.
|
|
PolicyBasedConnectionOverlord ( Node node ) : System | ||
Set ( Address addr ) : void |
Express desire to connect to the remote address.
|
|
Unset ( Address addr ) : void |
Express desire to end connections to the remote address.
|
메소드 | 설명 | |
---|---|---|
CheckForConnection ( Address addr ) : void |
Checks the connection table for a connection. We call the appropriate abstract method based upon the result.
|
|
ConnectHandler ( object tab, |
This method is called when there is connection added to the ConnectionTable.
|
|
ConnectTo ( Address addr ) : void | ||
ConnectorEndHandler ( object o, |
The connector has finished, if it succeeded, there should be some CTM, else the attempt failed.
|
|
DelayedConnectTo ( Address addr, bool fast ) : void |
Perform delayed operations to prevent infinite loops due to eventing issues or another worker performing the same task.
|
|
DelayedRemove ( Address addr ) : void |
Perform delayed operations so we don't end up unnecessarily churning through connections... the need for this should probably be evaluated.
|
|
DelayedRemove ( Address addr, string reason ) : void | ||
DisconnectHandler ( object tab, EventArgs eargs ) : void |
This method is called when there is a Disconnection from the ConnectionTable.
|
|
FailedConnectionAttempt ( Address addr ) : void |
Called when an attempt to the address specified has failed.
|
|
LinkerEndHandler ( object o, EventArgs eargs ) : void |
If we get here, the Linker has completed, we are either connected or need to reattempt the connection.
|
|
LostConnection ( Connection con ) : void |
Called when a connection has been lost.
|
|
ObtainedConnection ( Connection con ) : void |
Called when a connection has been formed.
|
protected CheckForConnection ( Address addr ) : void | ||
addr | Address | |
리턴 | void |
protected ConnectHandler ( object tab, |
||
tab | object | |
eargs | ||
리턴 | void |
abstract public ConnectionDesired ( Address addr ) : bool | ||
addr | Address | |
리턴 | bool |
protected ConnectorEndHandler ( object o, |
||
o | object | |
eargs | ||
리턴 | void |
protected DelayedConnectTo ( Address addr, bool fast ) : void | ||
addr | Address | |
fast | bool | |
리턴 | void |
protected DelayedRemove ( Address addr, string reason ) : void | ||
addr | Address | |
reason | string | |
리턴 | void |
protected DisconnectHandler ( object tab, EventArgs eargs ) : void | ||
tab | object | |
eargs | EventArgs | |
리턴 | void |
abstract protected FailedConnectionAttempt ( Address addr ) : void | ||
addr | Address | |
리턴 | void |
protected LinkerEndHandler ( object o, EventArgs eargs ) : void | ||
o | object | |
eargs | EventArgs | |
리턴 | void |
abstract protected LostConnection ( Connection con ) : void | ||
con | Connection | |
리턴 | void |
abstract protected ObtainedConnection ( Connection con ) : void | ||
con | Connection | |
리턴 | void |
public PolicyBasedConnectionOverlord ( Node node ) : System | ||
node | Node | |
리턴 | System |