aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.Server/RemoteTerminal.cs
diff options
context:
space:
mode:
authorMichael VanOverbeek <[email protected]>2017-02-15 21:30:58 +0000
committerMichael VanOverbeek <[email protected]>2017-02-15 21:31:03 +0000
commit91f97a65b2c6d1fad3a211a6739a49d9908f69a2 (patch)
treeae91161012ad62f8d35377369557bff14cd18718 /ShiftOS.Server/RemoteTerminal.cs
parent9729d2ba5998351849b0fe7e755a3176de655bab (diff)
downloadshiftos_thereturn-91f97a65b2c6d1fad3a211a6739a49d9908f69a2.tar.gz
shiftos_thereturn-91f97a65b2c6d1fad3a211a6739a49d9908f69a2.tar.bz2
shiftos_thereturn-91f97a65b2c6d1fad3a211a6739a49d9908f69a2.zip
whoa mud refactoring
Diffstat (limited to 'ShiftOS.Server/RemoteTerminal.cs')
-rw-r--r--ShiftOS.Server/RemoteTerminal.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/ShiftOS.Server/RemoteTerminal.cs b/ShiftOS.Server/RemoteTerminal.cs
index 6742e44..c78aca1 100644
--- a/ShiftOS.Server/RemoteTerminal.cs
+++ b/ShiftOS.Server/RemoteTerminal.cs
@@ -11,7 +11,7 @@ namespace ShiftOS.Server
{
public static class RemoteTerminal
{
- [MudRequest("trm_handshake_accept")]
+ [MudRequest("trm_handshake_accept", typeof(Dictionary<string, object>))]
public static void AcceptHandshake(string guid, object contents)
{
var args = contents as Dictionary<string, object>;
@@ -26,7 +26,7 @@ namespace ShiftOS.Server
}
}
- [MudRequest("trm_invcmd")]
+ [MudRequest("trm_invcmd", typeof(Dictionary<string, object>))]
public static void InvokeCommand(string guid, object contents)
{
Console.WriteLine("Before arg check");
@@ -48,7 +48,7 @@ namespace ShiftOS.Server
}
- [MudRequest("trm_handshake_request")]
+ [MudRequest("trm_handshake_request", typeof(Dictionary<string, object>))]
public static void RequestHandshake(string guid, object contents)
{
var args = contents as Dictionary<string, object>;
@@ -63,7 +63,7 @@ namespace ShiftOS.Server
}
}
- [MudRequest("trm_handshake_stop")]
+ [MudRequest("trm_handshake_stop", typeof(Dictionary<string, object>))]
public static void StopSession(string guid, object contents)
{
var args = contents as Dictionary<string, object>;
@@ -78,7 +78,7 @@ namespace ShiftOS.Server
}
- [MudRequest("write")]
+ [MudRequest("write", typeof(Dictionary<string, object>))]
public static void WriteText(string guid, object contents)
{
var args = contents as Dictionary<string, object>;