aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
authorMike Mazur2008-08-08 09:19:23 +0000
committerMike Mazur2008-08-08 09:19:23 +0000
commit97d5b5a1eb159e539586ca8043304f8277b8d0e3 (patch)
tree4fc345454e3d77899fc88060c56005e535137daf /OpenSim/Framework
parentUpdate svn properties, minor formatting cleanup. (diff)
downloadopensim-SC-97d5b5a1eb159e539586ca8043304f8277b8d0e3.zip
opensim-SC-97d5b5a1eb159e539586ca8043304f8277b8d0e3.tar.gz
opensim-SC-97d5b5a1eb159e539586ca8043304f8277b8d0e3.tar.bz2
opensim-SC-97d5b5a1eb159e539586ca8043304f8277b8d0e3.tar.xz
De-coupling the IClientAPI interface and ClientManager class from the
libsl/libomv Packet, as other client stacks could use other data types to pass packets around. Starting with InPacket() here, more to come.
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r--OpenSim/Framework/ClientManager.cs7
-rw-r--r--OpenSim/Framework/IClientAPI.cs2
2 files changed, 7 insertions, 2 deletions
diff --git a/OpenSim/Framework/ClientManager.cs b/OpenSim/Framework/ClientManager.cs
index 85dafef..091f308 100644
--- a/OpenSim/Framework/ClientManager.cs
+++ b/OpenSim/Framework/ClientManager.cs
@@ -88,7 +88,12 @@ namespace OpenSim.Framework
88 } 88 }
89 } 89 }
90 90
91 public void InPacket(uint circuitCode, Packet packet) 91 /// <summary>
92 /// Pass incoming packet to client.
93 /// </summary>
94 /// <param name="circuitCode">uint identifying the connection/client.</param>
95 /// <param name="packet">object containing the packet.</param>
96 public void InPacket(uint circuitCode, object packet)
92 { 97 {
93 IClientAPI client; 98 IClientAPI client;
94 bool tryGetRet = false; 99 bool tryGetRet = false;
diff --git a/OpenSim/Framework/IClientAPI.cs b/OpenSim/Framework/IClientAPI.cs
index d7f0ed4..893a783 100644
--- a/OpenSim/Framework/IClientAPI.cs
+++ b/OpenSim/Framework/IClientAPI.cs
@@ -703,7 +703,7 @@ namespace OpenSim.Framework
703 703
704 704
705 void SetDebug(int newDebug); 705 void SetDebug(int newDebug);
706 void InPacket(Packet NewPack); 706 void InPacket(object NewPack);
707 void ProcessInPacket(Packet NewPack); 707 void ProcessInPacket(Packet NewPack);
708 void Close(bool ShutdownCircuit); 708 void Close(bool ShutdownCircuit);
709 void Kick(string message); 709 void Kick(string message);