Method | Description | |
---|---|---|
Add ( IConnection connection ) : bool |
add
|
|
Count ( ) : int |
count.
|
|
DisconnectAll ( ) : void |
断开所有连接
|
|
Get ( long connectionID ) : IConnection |
get by connection id
|
|
Remove ( long connectionID ) : bool |
remove connection by id.
|
|
ToArray ( ) : IConnection[] |
to array
|
public Get ( long connectionID ) : IConnection | ||
connectionID | long | |
return | IConnection |