C# Class ConsoleClient, KerbalLiveFeed

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

Méthodes publiques

Свойство Type Description
interopInQueue ConcurrentQueue
interopOutQueue ConcurrentQueue
lastInteropWriteTime long

Protected Properties

Свойство Type Description
threadException Exception
threadExceptionStackTrace String

Méthodes publiques

Méthode Description
connect ( ClientSettings, settings ) : void
connectionThreadRun ( ) : void
handleChat ( ) : void
handlePluginInterop ( ) : void
handlePluginUpdates ( ) : void
readPluginInterop ( ) : void
safeAbort ( Thread thread, bool join = false ) : void

Méthodes protégées

Méthode Description
connectionEnded ( ) : void
connectionStarted ( ) : void
enqueueTextMessage ( InTextMessage message, bool to_plugin = true ) : void
messageReceived ( KLFCommon, id, byte data ) : void
passExceptionToMain ( Exception e ) : void
sendClientInteropMessage ( KLFCommon, id, byte data ) : void

Private Methods

Méthode Description
connectionLoop ( ClientSettings, settings ) : bool
writePluginInterop ( ) : bool

Method Details

connect() public méthode

public connect ( ClientSettings, settings ) : void
settings ClientSettings,
Résultat void

connectionEnded() protected méthode

protected connectionEnded ( ) : void
Résultat void

connectionStarted() protected méthode

protected connectionStarted ( ) : void
Résultat void

connectionThreadRun() public méthode

public connectionThreadRun ( ) : void
Résultat void

enqueueTextMessage() protected méthode

protected enqueueTextMessage ( InTextMessage message, bool to_plugin = true ) : void
message InTextMessage
to_plugin bool
Résultat void

handleChat() public méthode

public handleChat ( ) : void
Résultat void

handlePluginInterop() public méthode

public handlePluginInterop ( ) : void
Résultat void

handlePluginUpdates() public méthode

public handlePluginUpdates ( ) : void
Résultat void

messageReceived() protected méthode

protected messageReceived ( KLFCommon, id, byte data ) : void
id KLFCommon,
data byte
Résultat void

passExceptionToMain() protected méthode

protected passExceptionToMain ( Exception e ) : void
e Exception
Résultat void

readPluginInterop() public méthode

public readPluginInterop ( ) : void
Résultat void

safeAbort() public méthode

public safeAbort ( Thread thread, bool join = false ) : void
thread Thread
join bool
Résultat void

sendClientInteropMessage() protected méthode

protected sendClientInteropMessage ( KLFCommon, id, byte data ) : void
id KLFCommon,
data byte
Résultat void

Property Details

interopInQueue public_oe property

public ConcurrentQueue interopInQueue
Résultat ConcurrentQueue

interopOutQueue public_oe property

public ConcurrentQueue interopOutQueue
Résultat ConcurrentQueue

lastInteropWriteTime public_oe property

public long lastInteropWriteTime
Résultat long

threadException protected_oe property

protected Exception threadException
Résultat Exception

threadExceptionStackTrace protected_oe property

protected String threadExceptionStackTrace
Résultat String