aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Common/TRPC/TCPCommon.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common/TRPC/TCPCommon.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/Common/TRPC/TCPCommon.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/TRPC/TCPCommon.cs b/OpenSim/Region/ScriptEngine/Common/TRPC/TCPCommon.cs
index f3a55ba..c0e402a 100644
--- a/OpenSim/Region/ScriptEngine/Common/TRPC/TCPCommon.cs
+++ b/OpenSim/Region/ScriptEngine/Common/TRPC/TCPCommon.cs
@@ -1,4 +1,4 @@
1/* 1/*
2* Copyright (c) Contributors, http://opensimulator.org/ 2* Copyright (c) Contributors, http://opensimulator.org/
3* See CONTRIBUTORS.TXT for a full list of copyright holders. 3* See CONTRIBUTORS.TXT for a full list of copyright holders.
4* 4*
@@ -36,7 +36,6 @@ namespace OpenSim.Region.ScriptEngine.Common.TRPC
36 public delegate void CloseDelegate(int ID); 36 public delegate void CloseDelegate(int ID);
37 public delegate void ConnectErrorDelegate(string Reason); 37 public delegate void ConnectErrorDelegate(string Reason);
38 38
39
40 public interface ServerAndClientInterface 39 public interface ServerAndClientInterface
41 { 40 {
42 void Send(int clientID, byte[] data, int offset, int len); 41 void Send(int clientID, byte[] data, int offset, int len);
@@ -45,17 +44,18 @@ namespace OpenSim.Region.ScriptEngine.Common.TRPC
45 event DataSentDelegate DataSent; 44 event DataSentDelegate DataSent;
46 event CloseDelegate Close; 45 event CloseDelegate Close;
47 } 46 }
47
48 public interface ClientInterface : ServerAndClientInterface 48 public interface ClientInterface : ServerAndClientInterface
49 { 49 {
50 event TCPCommon.ConnectErrorDelegate ConnectError; 50 event TCPCommon.ConnectErrorDelegate ConnectError;
51 void Connect(string RemoteHost, int RemotePort); 51 void Connect(string RemoteHost, int RemotePort);
52 void Disconnect(int ID); 52 void Disconnect(int ID);
53 } 53 }
54
54 public interface ServerInterface : ServerAndClientInterface 55 public interface ServerInterface : ServerAndClientInterface
55 { 56 {
56 void StartListen(); 57 void StartListen();
57 void StopListen(); 58 void StopListen();
58 } 59 }
59
60 } 60 }
61} \ No newline at end of file 61}