C# Class SharpQuake.NetLoop

Inheritance: INetDriver
ファイルを表示 Open project: Memorix101/SharpQuake

Public Methods

Method Description
CanSendMessage ( qsocket_t sock ) : bool
CanSendUnreliableMessage ( qsocket_t sock ) : bool
CheckNewConnections ( ) : qsocket_t
Close ( qsocket_t sock ) : void
Connect ( string host ) : qsocket_t
GetMessage ( qsocket_t sock ) : int
Init ( ) : void
Listen ( bool state ) : void
SearchForHosts ( bool xmit ) : void
SendMessage ( qsocket_t sock, MsgWriter data ) : int
SendUnreliableMessage ( qsocket_t sock, MsgWriter data ) : int
Shutdown ( ) : void

Private Methods

Method Description
IntAlign ( int value ) : int

Method Details

CanSendMessage() public method

public CanSendMessage ( qsocket_t sock ) : bool
sock qsocket_t
return bool

CanSendUnreliableMessage() public method

public CanSendUnreliableMessage ( qsocket_t sock ) : bool
sock qsocket_t
return bool

CheckNewConnections() public method

public CheckNewConnections ( ) : qsocket_t
return qsocket_t

Close() public method

public Close ( qsocket_t sock ) : void
sock qsocket_t
return void

Connect() public method

public Connect ( string host ) : qsocket_t
host string
return qsocket_t

GetMessage() public method

public GetMessage ( qsocket_t sock ) : int
sock qsocket_t
return int

Init() public method

public Init ( ) : void
return void

Listen() public method

public Listen ( bool state ) : void
state bool
return void

SearchForHosts() public method

public SearchForHosts ( bool xmit ) : void
xmit bool
return void

SendMessage() public method

public SendMessage ( qsocket_t sock, MsgWriter data ) : int
sock qsocket_t
data MsgWriter
return int

SendUnreliableMessage() public method

public SendUnreliableMessage ( qsocket_t sock, MsgWriter data ) : int
sock qsocket_t
data MsgWriter
return int

Shutdown() public method

public Shutdown ( ) : void
return void