C# Class NFrame.NFINet

Inheritance: NFBehaviour
Afficher le fichier Open project: ketoo/NFrame Class Usage Examples

Méthodes publiques

Méthode Description
CloseNetObject ( UInt32 nSockIndex ) : int
Final ( ) : bool
Initialization ( UInt32 nMaxClient, UInt16 nPort ) : int
Initialization ( string strIP, UInt16 nPort ) : void
IsServer ( ) : int
Log ( int severity, string msg ) : int
SendMsgToAllClientWithOutHead ( UInt16 nMsgID, string msg ) : bool
SendMsgWithOutHead ( UInt16 nMsgID, string msg, List fdList ) : bool
SendMsgWithOutHead ( UInt16 nMsgID, string msg, UInt32 nSockIndex ) : bool

Method Details

CloseNetObject() public abstract méthode

public abstract CloseNetObject ( UInt32 nSockIndex ) : int
nSockIndex System.UInt32
Résultat int

Final() public abstract méthode

public abstract Final ( ) : bool
Résultat bool

Initialization() public abstract méthode

public abstract Initialization ( UInt32 nMaxClient, UInt16 nPort ) : int
nMaxClient System.UInt32
nPort System.UInt16
Résultat int

Initialization() public abstract méthode

public abstract Initialization ( string strIP, UInt16 nPort ) : void
strIP string
nPort System.UInt16
Résultat void

IsServer() public abstract méthode

public abstract IsServer ( ) : int
Résultat int

Log() public abstract méthode

public abstract Log ( int severity, string msg ) : int
severity int
msg string
Résultat int

SendMsgToAllClientWithOutHead() public abstract méthode

public abstract SendMsgToAllClientWithOutHead ( UInt16 nMsgID, string msg ) : bool
nMsgID System.UInt16
msg string
Résultat bool

SendMsgWithOutHead() public abstract méthode

public abstract SendMsgWithOutHead ( UInt16 nMsgID, string msg, List fdList ) : bool
nMsgID System.UInt16
msg string
fdList List
Résultat bool

SendMsgWithOutHead() public abstract méthode

public abstract SendMsgWithOutHead ( UInt16 nMsgID, string msg, UInt32 nSockIndex ) : bool
nMsgID System.UInt16
msg string
nSockIndex System.UInt32
Résultat bool