C# Class Fusion.Engine.Server.NetConnExt

显示文件 Open project: demiurghg/FusionEngine

Public Methods

Method Description
GetCommandCount ( this conn ) : uint
GetHailGuid ( this conn ) : System.Guid

Reads client GUID from connection hail-message.

GetHailUserInfo ( this conn ) : string

Reads user info from connection hail-message.

GetLastCommandID ( this conn ) : uint
GetRequestedSnapshotID ( this conn ) : uint
InitClientState ( this conn ) : void

Initializes client state for given connection.

IsSnapshotRequested ( this conn ) : bool
ResetRequestSnapshot ( this conn ) : void
SetRequestSnapshot ( this conn, uint snapshotID, uint commandID ) : void

Private Methods

Method Description
GetState ( this conn ) : ClientState

Method Details

GetCommandCount() public static method

public static GetCommandCount ( this conn ) : uint
conn this
return uint

GetHailGuid() public static method

Reads client GUID from connection hail-message.
public static GetHailGuid ( this conn ) : System.Guid
conn this
return System.Guid

GetHailUserInfo() public static method

Reads user info from connection hail-message.
public static GetHailUserInfo ( this conn ) : string
conn this
return string

GetLastCommandID() public static method

public static GetLastCommandID ( this conn ) : uint
conn this
return uint

GetRequestedSnapshotID() public static method

public static GetRequestedSnapshotID ( this conn ) : uint
conn this
return uint

InitClientState() public static method

Initializes client state for given connection.
public static InitClientState ( this conn ) : void
conn this
return void

IsSnapshotRequested() public static method

public static IsSnapshotRequested ( this conn ) : bool
conn this
return bool

ResetRequestSnapshot() public static method

public static ResetRequestSnapshot ( this conn ) : void
conn this
return void

SetRequestSnapshot() public static method

public static SetRequestSnapshot ( this conn, uint snapshotID, uint commandID ) : void
conn this
snapshotID uint
commandID uint
return void