C# Class SOE.Core.SOEClient

Afficher le fichier Open project: Joshsora/LibSOE Class Usage Examples

Méthodes publiques

Свойство Type Description
Client System.Net.IPEndPoint
DataChannel SOEDataChannel
Manager SOEConnectionManager
Server SOEServer

Méthodes publiques

Méthode Description
Compress ( byte data ) : byte[]
Disconnect ( ushort reason, bool client = false ) : void
Encrypt ( byte data ) : byte[]
GetAppendedCRC32 ( byte packet ) : byte[]
GetBufferSize ( ) : uint
GetCRC32Checksum ( byte packet ) : uint
GetCRCLength ( ) : uint
GetCRCSeed ( ) : uint
GetClientAddress ( ) : IPAddress
GetClientID ( ) : int
GetLastInteraction ( ) : int
GetNextSequenceNumber ( ) : ushort
GetSessionID ( ) : uint
HasSession ( ) : bool
IsCompressable ( ) : bool
IsEncrypted ( ) : bool
ReceiveMessage ( byte rawMessage ) : void
SOEClient ( SOEConnectionManager manager, IPEndPoint client ) : System
SendMessage ( SOEMessage message ) : void
SendPacket ( SOEPacket packet ) : void
SetClientID ( int clientId ) : void
SetCompressable ( bool compressable ) : void
SetEncryptable ( bool encryptable ) : void
StartSession ( uint crcLength, uint sessionId, uint udpBufferSize ) : void
ToggleEncryption ( ) : void

Private Methods

Méthode Description
Interact ( ) : void

Method Details

Compress() public méthode

public Compress ( byte data ) : byte[]
data byte
Résultat byte[]

Disconnect() public méthode

public Disconnect ( ushort reason, bool client = false ) : void
reason ushort
client bool
Résultat void

Encrypt() public méthode

public Encrypt ( byte data ) : byte[]
data byte
Résultat byte[]

GetAppendedCRC32() public méthode

public GetAppendedCRC32 ( byte packet ) : byte[]
packet byte
Résultat byte[]

GetBufferSize() public méthode

public GetBufferSize ( ) : uint
Résultat uint

GetCRC32Checksum() public méthode

public GetCRC32Checksum ( byte packet ) : uint
packet byte
Résultat uint

GetCRCLength() public méthode

public GetCRCLength ( ) : uint
Résultat uint

GetCRCSeed() public méthode

public GetCRCSeed ( ) : uint
Résultat uint

GetClientAddress() public méthode

public GetClientAddress ( ) : IPAddress
Résultat System.Net.IPAddress

GetClientID() public méthode

public GetClientID ( ) : int
Résultat int

GetLastInteraction() public méthode

public GetLastInteraction ( ) : int
Résultat int

GetNextSequenceNumber() public méthode

public GetNextSequenceNumber ( ) : ushort
Résultat ushort

GetSessionID() public méthode

public GetSessionID ( ) : uint
Résultat uint

HasSession() public méthode

public HasSession ( ) : bool
Résultat bool

IsCompressable() public méthode

public IsCompressable ( ) : bool
Résultat bool

IsEncrypted() public méthode

public IsEncrypted ( ) : bool
Résultat bool

ReceiveMessage() public méthode

public ReceiveMessage ( byte rawMessage ) : void
rawMessage byte
Résultat void

SOEClient() public méthode

public SOEClient ( SOEConnectionManager manager, IPEndPoint client ) : System
manager SOEConnectionManager
client System.Net.IPEndPoint
Résultat System

SendMessage() public méthode

public SendMessage ( SOEMessage message ) : void
message SOEMessage
Résultat void

SendPacket() public méthode

public SendPacket ( SOEPacket packet ) : void
packet SOE.Interfaces.SOEPacket
Résultat void

SetClientID() public méthode

public SetClientID ( int clientId ) : void
clientId int
Résultat void

SetCompressable() public méthode

public SetCompressable ( bool compressable ) : void
compressable bool
Résultat void

SetEncryptable() public méthode

public SetEncryptable ( bool encryptable ) : void
encryptable bool
Résultat void

StartSession() public méthode

public StartSession ( uint crcLength, uint sessionId, uint udpBufferSize ) : void
crcLength uint
sessionId uint
udpBufferSize uint
Résultat void

ToggleEncryption() public méthode

public ToggleEncryption ( ) : void
Résultat void

Property Details

Client public_oe property

public IPEndPoint,System.Net Client
Résultat System.Net.IPEndPoint

DataChannel public_oe property

public SOEDataChannel,SOE.Core DataChannel
Résultat SOEDataChannel

Manager public_oe property

public SOEConnectionManager,SOE.Core Manager
Résultat SOEConnectionManager

Server public_oe property

public SOEServer,SOE.Core Server
Résultat SOEServer