C# Class KLFServer.ServerClient

Afficher le fichier Open project: SodiumEyes/KerbalLiveFeed Class Usage Examples

Méthodes publiques

Свойство Type Description
activityLevel ActivityLevel
activityLevelLock object
canBeReplaced bool
connectionStartTime long
currentMessageID KLFCommon.ClientMessageID
ip System.Net.IPAddress
lastInFlightActivityTime long
lastInGameActivityTime long
lastReceiveTime long
lastUDPACKTime long
queuedOutMessages ConcurrentQueue
receivedHandshake bool
screenshotLock object
screenshots Screenshot[]
sharedCraftFile byte[]
sharedCraftLock object
sharedCraftName String
sharedCraftType byte
tcpClient System.Net.Sockets.TcpClient
tcpClientLock object
throttleState ThrottleState
timestampLock object
username String
watchPlayerIndex int
watchPlayerName String
watchPlayerNameLock object

Méthodes publiques

Méthode Description
ServerClient ( Server parent, int index ) : System
disconnected ( ) : void
getScreenshot ( int index ) : Screenshot
messageFloodIncrement ( ) : void
pushScreenshot ( Screenshot screenshot ) : void
queueOutgoingMessage ( KLFCommon id, byte data ) : void
queueOutgoingMessage ( byte message_bytes ) : void
resetProperties ( ) : void
screenshotFloodIncrement ( ) : void
sendOutgoingMessages ( ) : void
updateActivityLevel ( ActivityLevel level ) : void
updateReceiveTimestamp ( ) : void

Private Methods

Méthode Description
asyncReceive ( IAsyncResult result ) : void
asyncSend ( IAsyncResult result ) : void
beginAsyncRead ( ) : void
endReceivingMessages ( ) : void
handleReceive ( ) : void
messageReceived ( KLFCommon id, byte data ) : void
startReceivingMessages ( ) : void

Method Details

ServerClient() public méthode

public ServerClient ( Server parent, int index ) : System
parent Server
index int
Résultat System

disconnected() public méthode

public disconnected ( ) : void
Résultat void

getScreenshot() public méthode

public getScreenshot ( int index ) : Screenshot
index int
Résultat Screenshot

messageFloodIncrement() public méthode

public messageFloodIncrement ( ) : void
Résultat void

pushScreenshot() public méthode

public pushScreenshot ( Screenshot screenshot ) : void
screenshot Screenshot
Résultat void

queueOutgoingMessage() public méthode

public queueOutgoingMessage ( KLFCommon id, byte data ) : void
id KLFCommon
data byte
Résultat void

queueOutgoingMessage() public méthode

public queueOutgoingMessage ( byte message_bytes ) : void
message_bytes byte
Résultat void

resetProperties() public méthode

public resetProperties ( ) : void
Résultat void

screenshotFloodIncrement() public méthode

public screenshotFloodIncrement ( ) : void
Résultat void

sendOutgoingMessages() public méthode

public sendOutgoingMessages ( ) : void
Résultat void

updateActivityLevel() public méthode

public updateActivityLevel ( ActivityLevel level ) : void
level ActivityLevel
Résultat void

updateReceiveTimestamp() public méthode

public updateReceiveTimestamp ( ) : void
Résultat void

Property Details

activityLevel public_oe property

public ActivityLevel activityLevel
Résultat ActivityLevel

activityLevelLock public_oe property

public object activityLevelLock
Résultat object

canBeReplaced public_oe property

public bool canBeReplaced
Résultat bool

connectionStartTime public_oe property

public long connectionStartTime
Résultat long

currentMessageID public_oe property

public KLFCommon.ClientMessageID currentMessageID
Résultat KLFCommon.ClientMessageID

ip public_oe property

public IPAddress,System.Net ip
Résultat System.Net.IPAddress

lastInFlightActivityTime public_oe property

public long lastInFlightActivityTime
Résultat long

lastInGameActivityTime public_oe property

public long lastInGameActivityTime
Résultat long

lastReceiveTime public_oe property

public long lastReceiveTime
Résultat long

lastUDPACKTime public_oe property

public long lastUDPACKTime
Résultat long

queuedOutMessages public_oe property

public ConcurrentQueue queuedOutMessages
Résultat ConcurrentQueue

receivedHandshake public_oe property

public bool receivedHandshake
Résultat bool

screenshotLock public_oe property

public object screenshotLock
Résultat object

screenshots public_oe property

public Screenshot[] screenshots
Résultat Screenshot[]

sharedCraftFile public_oe property

public byte[] sharedCraftFile
Résultat byte[]

sharedCraftLock public_oe property

public object sharedCraftLock
Résultat object

sharedCraftName public_oe property

public String sharedCraftName
Résultat String

sharedCraftType public_oe property

public byte sharedCraftType
Résultat byte

tcpClient public_oe property

public TcpClient,System.Net.Sockets tcpClient
Résultat System.Net.Sockets.TcpClient

tcpClientLock public_oe property

public object tcpClientLock
Résultat object

throttleState public_oe property

public ThrottleState throttleState
Résultat ThrottleState

timestampLock public_oe property

public object timestampLock
Résultat object

username public_oe property

public String username
Résultat String

watchPlayerIndex public_oe property

public int watchPlayerIndex
Résultat int

watchPlayerName public_oe property

public String watchPlayerName
Résultat String

watchPlayerNameLock public_oe property

public object watchPlayerNameLock
Résultat object