using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace QueryMaster { /// /// Provides methods to access server using rcon password. /// public abstract class Rcon : IDisposable { /// /// Send a Command to server. /// /// Server command. /// Reply from server(string). public abstract string SendCommand(string cmd); /// /// Add a client socket to server's logaddress list. /// /// IP-Address of client. /// Port number of client. public abstract void AddlogAddress(string ip, ushort port); /// /// Delete a client socket to server's logaddress list. /// /// IP-Address of client. /// Port number of client. public abstract void RemovelogAddress(string ip, ushort port); /// /// Disposes rcon Object /// public abstract void Dispose(); } }