mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 01:35:46 +08:00
* Optimised using statements and namespace references across entire project (this took a while to run).
This commit is contained in:
@@ -25,10 +25,6 @@
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace OpenSim.Region.ScriptEngine.Common.TRPC
|
||||
{
|
||||
class MyBase
|
||||
|
||||
@@ -25,12 +25,10 @@
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Net;
|
||||
using System.Net.Sockets;
|
||||
using System.Text;
|
||||
|
||||
namespace OpenSim.Region.ScriptEngine.Common.TRPC
|
||||
{
|
||||
|
||||
@@ -25,11 +25,13 @@
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
using System.Net;
|
||||
|
||||
namespace OpenSim.Region.ScriptEngine.Common.TRPC
|
||||
{
|
||||
public class TCPCommon
|
||||
{
|
||||
public delegate void ClientConnectedDelegate(int ID, System.Net.EndPoint Remote);
|
||||
public delegate void ClientConnectedDelegate(int ID, EndPoint Remote);
|
||||
public delegate void DataReceivedDelegate(int ID, byte[] data, int offset, int length);
|
||||
public delegate void DataSentDelegate(int ID, int length);
|
||||
public delegate void CloseDelegate(int ID);
|
||||
@@ -46,7 +48,7 @@ namespace OpenSim.Region.ScriptEngine.Common.TRPC
|
||||
|
||||
public interface ClientInterface : ServerAndClientInterface
|
||||
{
|
||||
event TCPCommon.ConnectErrorDelegate ConnectError;
|
||||
event ConnectErrorDelegate ConnectError;
|
||||
void Connect(string RemoteHost, int RemotePort);
|
||||
void Disconnect(int ID);
|
||||
}
|
||||
|
||||
@@ -30,7 +30,6 @@ using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Net;
|
||||
using System.Net.Sockets;
|
||||
using TCPCommon=OpenSim.Region.ScriptEngine.Common.TRPC.TCPCommon;
|
||||
|
||||
namespace OpenSim.Region.ScriptEngine.Common.TRPC
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user