C# 클래스 GW2PAO.TS3.Services.TeamspeakConnection

파일 보기 프로젝트 열기: SamHurne/gw2pao

공개 메소드들

메소드 설명
Connect ( ) : void

Connects to the Teamspeak Client Query interface

Disconnect ( ) : void

Disconnects from the Teamspeak Client Query interface

SendCommand ( TS3QueryLib.Core.CommandHandling.Command command ) : string

Sends a command to teamspeak

SendWhoAmI ( ) : WhoAmIResponse

Sends the WhoAmI command

TeamspeakConnection ( ) : GW2PAO.TS3.Data.Enums

Default constructor

비공개 메소드들

메소드 설명
CommandQueryDispatcher_ReadyForSendingCommands ( object sender, EventArgs e ) : void

Handler for the ReadyForSendingCommands event

EventQueryDispatcher_NotificationReceived ( object sender, EventArgs e ) : void

Handler for the NotificationReceived event

EventQueryDispatcher_ReadyForSendingCommands ( object sender, EventArgs e ) : void

Handler for the ReadyForSendingCommands event

EventQueryDispatcher_ServerClosedConnection ( object sender, EventArgs e ) : void

Handler for the ServerClosedConnection event

EventQueryRunner_TalkStatusChanged ( object sender, TS3QueryLib e ) : void

Handler for the TalkStatusChanged event

Poll ( ) : void

Method used to poll the server, keeping the connection open

QueryDispatcher_BanDetected ( object sender, EventArgs e ) : void

Handler for the BanDetected event

QueryDispatcher_SocketError ( object sender, TS3QueryLib.Core.Communication.SocketErrorEventArgs e ) : void

Handler for the SocketError event

RaiseConnected ( ) : void

Raises the TalkStatusChanged event

RaiseConnectionRefused ( ) : void

Raises the TalkStatusChanged event

RaiseDisconnected ( ) : void

Raises the TalkStatusChanged event

RaiseNotificationReceived ( string notification ) : void

Raises the NotificationReceived event

RaiseTalkStatusChanged ( TalkStatusEventArgs args ) : void

Raises the TalkStatusChanged event

메소드 상세

Connect() 공개 메소드

Connects to the Teamspeak Client Query interface
public Connect ( ) : void
리턴 void

Disconnect() 공개 메소드

Disconnects from the Teamspeak Client Query interface
public Disconnect ( ) : void
리턴 void

SendCommand() 공개 메소드

Sends a command to teamspeak
public SendCommand ( TS3QueryLib.Core.CommandHandling.Command command ) : string
command TS3QueryLib.Core.CommandHandling.Command The command to send
리턴 string

SendWhoAmI() 공개 메소드

Sends the WhoAmI command
public SendWhoAmI ( ) : WhoAmIResponse
리턴 WhoAmIResponse

TeamspeakConnection() 공개 메소드

Default constructor
public TeamspeakConnection ( ) : GW2PAO.TS3.Data.Enums
리턴 GW2PAO.TS3.Data.Enums