C# Класс GW2PAO.TS3.Services.TeamspeakConnection

Показать файл Открыть проект

Открытые методы

Метод Описание
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