C# 클래스 KMPServer.Client

파일 보기 프로젝트 열기: TehGimp/KerbalMultiPlayer

공개 프로퍼티들

프로퍼티 타입 설명
activityLevel ActivityLevel
activityLevelLock object
averageWarpRate float
clientIndex int
connectionStartTime long
currentBytesToReceive int
currentMessage byte[]
currentMessageHeaderRecieved bool
currentMessageID KMPCommon.ClientMessageID
currentSubspaceID int
currentVessel System.Guid
disconnectMessage string
enteredSubspaceAt double
guid System.Guid
hasReceivedScenarioModules bool
lagWarning int
lastInFlightActivityTime long
lastInGameActivityTime long
lastPollTime long
lastReceiveTime long
lastSyncTime long
lastTick double
lastUDPACKTime long
playerID int
queuedOutMessages ConcurrentQueue
queuedOutMessagesHighPriority ConcurrentQueue
queuedOutMessagesSplit ConcurrentQueue
receivedHandshake bool
screenshot byte[]
screenshotLock object
sendOutgoingMessagesLock object
sharedCraftFile byte[]
sharedCraftLock object
sharedCraftName String
sharedCraftType KMPCommon.CraftType
syncOffset double
tcpClient System.Net.Sockets.TcpClient
tcpClientLock object
timestampLock object
username String
warping bool
watchPlayerName String
watchPlayerNameLock object

공개 메소드들

메소드 설명
Client ( Server parent ) : System
ToString ( ) : string
disconnected ( ) : void
queueOutgoingMessage ( KMPCommon id, byte data ) : void
queueOutgoingMessage ( byte message_bytes ) : void
resetProperties ( ) : void
sendOutgoingMessages ( ) : void
splitOutgoingMessage ( byte &next_message ) : void
updateActivityLevel ( ActivityLevel level ) : void
updateReceiveTimestamp ( ) : void

비공개 메소드들

메소드 설명
asyncReceive ( IAsyncResult ar ) : void
asyncSend ( IAsyncResult result ) : void
beginAsyncRead ( ) : void
endReceivingMessages ( ) : void
messageReceived ( KMPCommon id, byte data ) : void
startReceivingMessages ( ) : void
syncTimeRewrite ( byte &next_message ) : void

메소드 상세

Client() 공개 메소드

public Client ( Server parent ) : System
parent Server
리턴 System

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

disconnected() 공개 메소드

public disconnected ( ) : void
리턴 void

queueOutgoingMessage() 공개 메소드

public queueOutgoingMessage ( KMPCommon id, byte data ) : void
id KMPCommon
data byte
리턴 void

queueOutgoingMessage() 공개 메소드

public queueOutgoingMessage ( byte message_bytes ) : void
message_bytes byte
리턴 void

resetProperties() 공개 메소드

public resetProperties ( ) : void
리턴 void

sendOutgoingMessages() 공개 메소드

public sendOutgoingMessages ( ) : void
리턴 void

splitOutgoingMessage() 공개 메소드

public splitOutgoingMessage ( byte &next_message ) : void
next_message byte
리턴 void

updateActivityLevel() 공개 메소드

public updateActivityLevel ( ActivityLevel level ) : void
level ActivityLevel
리턴 void

updateReceiveTimestamp() 공개 메소드

public updateReceiveTimestamp ( ) : void
리턴 void

프로퍼티 상세

activityLevel 공개적으로 프로퍼티

public ActivityLevel activityLevel
리턴 ActivityLevel

activityLevelLock 공개적으로 프로퍼티

public object activityLevelLock
리턴 object

averageWarpRate 공개적으로 프로퍼티

public float averageWarpRate
리턴 float

clientIndex 공개적으로 프로퍼티

public int clientIndex
리턴 int

connectionStartTime 공개적으로 프로퍼티

public long connectionStartTime
리턴 long

currentBytesToReceive 공개적으로 프로퍼티

public int currentBytesToReceive
리턴 int

currentMessage 공개적으로 프로퍼티

public byte[] currentMessage
리턴 byte[]

currentMessageHeaderRecieved 공개적으로 프로퍼티

public bool currentMessageHeaderRecieved
리턴 bool

currentMessageID 공개적으로 프로퍼티

public KMPCommon.ClientMessageID currentMessageID
리턴 KMPCommon.ClientMessageID

currentSubspaceID 공개적으로 프로퍼티

public int currentSubspaceID
리턴 int

currentVessel 공개적으로 프로퍼티

public Guid,System currentVessel
리턴 System.Guid

disconnectMessage 공개적으로 프로퍼티

public string disconnectMessage
리턴 string

enteredSubspaceAt 공개적으로 프로퍼티

public double enteredSubspaceAt
리턴 double

guid 공개적으로 프로퍼티

public Guid,System guid
리턴 System.Guid

hasReceivedScenarioModules 공개적으로 프로퍼티

public bool hasReceivedScenarioModules
리턴 bool

lagWarning 공개적으로 프로퍼티

public int lagWarning
리턴 int

lastInFlightActivityTime 공개적으로 프로퍼티

public long lastInFlightActivityTime
리턴 long

lastInGameActivityTime 공개적으로 프로퍼티

public long lastInGameActivityTime
리턴 long

lastPollTime 공개적으로 프로퍼티

public long lastPollTime
리턴 long

lastReceiveTime 공개적으로 프로퍼티

public long lastReceiveTime
리턴 long

lastSyncTime 공개적으로 프로퍼티

public long lastSyncTime
리턴 long

lastTick 공개적으로 프로퍼티

public double lastTick
리턴 double

lastUDPACKTime 공개적으로 프로퍼티

public long lastUDPACKTime
리턴 long

playerID 공개적으로 프로퍼티

public int playerID
리턴 int

queuedOutMessages 공개적으로 프로퍼티

public ConcurrentQueue queuedOutMessages
리턴 ConcurrentQueue

queuedOutMessagesHighPriority 공개적으로 프로퍼티

public ConcurrentQueue queuedOutMessagesHighPriority
리턴 ConcurrentQueue

queuedOutMessagesSplit 공개적으로 프로퍼티

public ConcurrentQueue queuedOutMessagesSplit
리턴 ConcurrentQueue

receivedHandshake 공개적으로 프로퍼티

public bool receivedHandshake
리턴 bool

screenshot 공개적으로 프로퍼티

public byte[] screenshot
리턴 byte[]

screenshotLock 공개적으로 프로퍼티

public object screenshotLock
리턴 object

sendOutgoingMessagesLock 공개적으로 프로퍼티

public object sendOutgoingMessagesLock
리턴 object

sharedCraftFile 공개적으로 프로퍼티

public byte[] sharedCraftFile
리턴 byte[]

sharedCraftLock 공개적으로 프로퍼티

public object sharedCraftLock
리턴 object

sharedCraftName 공개적으로 프로퍼티

public String sharedCraftName
리턴 String

sharedCraftType 공개적으로 프로퍼티

public KMPCommon.CraftType sharedCraftType
리턴 KMPCommon.CraftType

syncOffset 공개적으로 프로퍼티

public double syncOffset
리턴 double

tcpClient 공개적으로 프로퍼티

public TcpClient,System.Net.Sockets tcpClient
리턴 System.Net.Sockets.TcpClient

tcpClientLock 공개적으로 프로퍼티

public object tcpClientLock
리턴 object

timestampLock 공개적으로 프로퍼티

public object timestampLock
리턴 object

username 공개적으로 프로퍼티

public String username
리턴 String

warping 공개적으로 프로퍼티

public bool warping
리턴 bool

watchPlayerName 공개적으로 프로퍼티

public String watchPlayerName
리턴 String

watchPlayerNameLock 공개적으로 프로퍼티

public object watchPlayerNameLock
리턴 object