NetworkAdjustedTimeClusters
Constructor Summary
Public Constructor |
public
|
|
|
Member Summary
Public Members |
public
|
|
|
public
|
|
|
Method Summary
Public Methods |
public
|
addNAT(socket: *, socketTimeUTCOffset: *): *
|
|
public
|
|
|
public
|
|
|
Private Methods |
private
|
|
|
private
|
|
|
private
|
|
|
private
|
|
|
private
|
|
|
Public Members
Private Members
Public Methods
public
addNAT(socket: *, socketTimeUTCOffset: *): *
source
Params:
Name | Type | Attribute | Description |
socket |
* |
|
|
socketTimeUTCOffset |
* |
|
|
public
deleteNAT(socket: *): boolean
source
Params:
Name | Type | Attribute | Description |
socket |
* |
|
|
Private Methods
private
_calculateBestCluster()
source
private
_findNATCluster(socketTimeUTCOffset: *): *
source
Params:
Name | Type | Attribute | Description |
socketTimeUTCOffset |
* |
|
|
private
_findNATClusterBySocket(socket: *): *
source
Params:
Name | Type | Attribute | Description |
socket |
* |
|
|
private
_refreshClusterStatus(): *
source
private
_timeConverter(UNIX_timestamp: *): *
source
Params:
Name | Type | Attribute | Description |
UNIX_timestamp |
* |
|
|