aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim.RegionServer/SimClientBase.cs
diff options
context:
space:
mode:
authorMW2007-05-16 12:44:58 +0000
committerMW2007-05-16 12:44:58 +0000
commit3d93d390485075345442b9b5ea35eed88a9cab49 (patch)
treea51cdb72cd310ae3f579650886836ddc0211d986 /OpenSim.RegionServer/SimClientBase.cs
parentmade QueItem a nested class in SimClient. (diff)
downloadopensim-SC_OLD-3d93d390485075345442b9b5ea35eed88a9cab49.zip
opensim-SC_OLD-3d93d390485075345442b9b5ea35eed88a9cab49.tar.gz
opensim-SC_OLD-3d93d390485075345442b9b5ea35eed88a9cab49.tar.bz2
opensim-SC_OLD-3d93d390485075345442b9b5ea35eed88a9cab49.tar.xz
started to refactor startup code and to move udp server code out to its own class (currently not being used though) so that a single instance can handle multiple regions (each will need to be listening on a separate udp port)
Diffstat (limited to 'OpenSim.RegionServer/SimClientBase.cs')
-rw-r--r--OpenSim.RegionServer/SimClientBase.cs32
1 files changed, 32 insertions, 0 deletions
diff --git a/OpenSim.RegionServer/SimClientBase.cs b/OpenSim.RegionServer/SimClientBase.cs
new file mode 100644
index 0000000..d0dd381
--- /dev/null
+++ b/OpenSim.RegionServer/SimClientBase.cs
@@ -0,0 +1,32 @@
1using System;
2using System.Collections.Generic;
3using System.Text;
4using libsecondlife;
5using libsecondlife.Packets;
6
7namespace OpenSim
8{
9 public class SimClientBase
10 {
11
12 protected virtual void ProcessInPacket(Packet Pack)
13 {
14
15 }
16
17 protected virtual void ProcessOutPacket(Packet Pack)
18 {
19
20 }
21
22 public virtual void InPacket(Packet NewPack)
23 {
24
25 }
26
27 public virtual void OutPacket(Packet NewPack)
28 {
29
30 }
31 }
32}