diff options
author | Adam Frisby | 2008-04-21 07:09:17 +0000 |
---|---|---|
committer | Adam Frisby | 2008-04-21 07:09:17 +0000 |
commit | fef3b3689492dea63693c964bcdbec9f5137eb5e (patch) | |
tree | 7791eef001d85d3e1de863a68f26ff9434d062ca /OpenSim/Region/ScriptEngine/Common/TRPC | |
parent | * Terrain Module code has been reformatted to comply with guidelines. (diff) | |
download | opensim-SC-fef3b3689492dea63693c964bcdbec9f5137eb5e.zip opensim-SC-fef3b3689492dea63693c964bcdbec9f5137eb5e.tar.gz opensim-SC-fef3b3689492dea63693c964bcdbec9f5137eb5e.tar.bz2 opensim-SC-fef3b3689492dea63693c964bcdbec9f5137eb5e.tar.xz |
* Optimised using statements and namespace references across entire project (this took a while to run).
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common/TRPC')
4 files changed, 4 insertions, 9 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/TRPC/MyBase.cs b/OpenSim/Region/ScriptEngine/Common/TRPC/MyBase.cs index 6fe6381..14c6078 100644 --- a/OpenSim/Region/ScriptEngine/Common/TRPC/MyBase.cs +++ b/OpenSim/Region/ScriptEngine/Common/TRPC/MyBase.cs | |||
@@ -25,10 +25,6 @@ | |||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | */ | 26 | */ |
27 | 27 | ||
28 | using System; | ||
29 | using System.Collections.Generic; | ||
30 | using System.Text; | ||
31 | |||
32 | namespace OpenSim.Region.ScriptEngine.Common.TRPC | 28 | namespace OpenSim.Region.ScriptEngine.Common.TRPC |
33 | { | 29 | { |
34 | class MyBase | 30 | class MyBase |
diff --git a/OpenSim/Region/ScriptEngine/Common/TRPC/TCPClient.cs b/OpenSim/Region/ScriptEngine/Common/TRPC/TCPClient.cs index 7689d69..624c3bb 100644 --- a/OpenSim/Region/ScriptEngine/Common/TRPC/TCPClient.cs +++ b/OpenSim/Region/ScriptEngine/Common/TRPC/TCPClient.cs | |||
@@ -25,12 +25,10 @@ | |||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | */ | 26 | */ |
27 | 27 | ||
28 | using System; | ||
29 | using System.Collections.Generic; | 28 | using System.Collections.Generic; |
30 | using System.Diagnostics; | 29 | using System.Diagnostics; |
31 | using System.Net; | 30 | using System.Net; |
32 | using System.Net.Sockets; | 31 | using System.Net.Sockets; |
33 | using System.Text; | ||
34 | 32 | ||
35 | namespace OpenSim.Region.ScriptEngine.Common.TRPC | 33 | namespace OpenSim.Region.ScriptEngine.Common.TRPC |
36 | { | 34 | { |
diff --git a/OpenSim/Region/ScriptEngine/Common/TRPC/TCPCommon.cs b/OpenSim/Region/ScriptEngine/Common/TRPC/TCPCommon.cs index 521d75b..ab9d9b4 100644 --- a/OpenSim/Region/ScriptEngine/Common/TRPC/TCPCommon.cs +++ b/OpenSim/Region/ScriptEngine/Common/TRPC/TCPCommon.cs | |||
@@ -25,11 +25,13 @@ | |||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | */ | 26 | */ |
27 | 27 | ||
28 | using System.Net; | ||
29 | |||
28 | namespace OpenSim.Region.ScriptEngine.Common.TRPC | 30 | namespace OpenSim.Region.ScriptEngine.Common.TRPC |
29 | { | 31 | { |
30 | public class TCPCommon | 32 | public class TCPCommon |
31 | { | 33 | { |
32 | public delegate void ClientConnectedDelegate(int ID, System.Net.EndPoint Remote); | 34 | public delegate void ClientConnectedDelegate(int ID, EndPoint Remote); |
33 | public delegate void DataReceivedDelegate(int ID, byte[] data, int offset, int length); | 35 | public delegate void DataReceivedDelegate(int ID, byte[] data, int offset, int length); |
34 | public delegate void DataSentDelegate(int ID, int length); | 36 | public delegate void DataSentDelegate(int ID, int length); |
35 | public delegate void CloseDelegate(int ID); | 37 | public delegate void CloseDelegate(int ID); |
@@ -46,7 +48,7 @@ namespace OpenSim.Region.ScriptEngine.Common.TRPC | |||
46 | 48 | ||
47 | public interface ClientInterface : ServerAndClientInterface | 49 | public interface ClientInterface : ServerAndClientInterface |
48 | { | 50 | { |
49 | event TCPCommon.ConnectErrorDelegate ConnectError; | 51 | event ConnectErrorDelegate ConnectError; |
50 | void Connect(string RemoteHost, int RemotePort); | 52 | void Connect(string RemoteHost, int RemotePort); |
51 | void Disconnect(int ID); | 53 | void Disconnect(int ID); |
52 | } | 54 | } |
diff --git a/OpenSim/Region/ScriptEngine/Common/TRPC/TCPServer.cs b/OpenSim/Region/ScriptEngine/Common/TRPC/TCPServer.cs index 5d1e53a..55a20e7 100644 --- a/OpenSim/Region/ScriptEngine/Common/TRPC/TCPServer.cs +++ b/OpenSim/Region/ScriptEngine/Common/TRPC/TCPServer.cs | |||
@@ -30,7 +30,6 @@ using System.Collections.Generic; | |||
30 | using System.Diagnostics; | 30 | using System.Diagnostics; |
31 | using System.Net; | 31 | using System.Net; |
32 | using System.Net.Sockets; | 32 | using System.Net.Sockets; |
33 | using TCPCommon=OpenSim.Region.ScriptEngine.Common.TRPC.TCPCommon; | ||
34 | 33 | ||
35 | namespace OpenSim.Region.ScriptEngine.Common.TRPC | 34 | namespace OpenSim.Region.ScriptEngine.Common.TRPC |
36 | { | 35 | { |