From 97d5b5a1eb159e539586ca8043304f8277b8d0e3 Mon Sep 17 00:00:00 2001 From: Mike Mazur Date: Fri, 8 Aug 2008 09:19:23 +0000 Subject: 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. --- OpenSim/Framework/ClientManager.cs | 7 ++++++- OpenSim/Framework/IClientAPI.cs | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'OpenSim/Framework') 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 } } - public void InPacket(uint circuitCode, Packet packet) + /// + /// Pass incoming packet to client. + /// + /// uint identifying the connection/client. + /// object containing the packet. + public void InPacket(uint circuitCode, object packet) { IClientAPI client; 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 void SetDebug(int newDebug); - void InPacket(Packet NewPack); + void InPacket(object NewPack); void ProcessInPacket(Packet NewPack); void Close(bool ShutdownCircuit); void Kick(string message); -- cgit v1.1