File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
src/dds.net-server.lib/Core/Internal/IOProcessor/EncodersAndDecoders Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 22
33namespace DDS . Net . Server . Core . Internal . IOProcessor . EncodersAndDecoders
44{
5- internal static class PacketPreprocessor
5+ internal class PacketPreprocessor
66 {
7- private static Mutex mutex = new ( ) ;
8- private static Dictionary < string , byte [ ] > previousData = new ( ) ;
9- private static Dictionary < string , int > previousDataStartIndex = new ( ) ;
10- private static Dictionary < string , int > previousNextWriteIndex = new ( ) ;
7+ private Mutex mutex = new ( ) ;
8+ private Dictionary < string , byte [ ] > previousData = new ( ) ;
9+ private Dictionary < string , int > previousDataStartIndex = new ( ) ;
10+ private Dictionary < string , int > previousNextWriteIndex = new ( ) ;
1111
12- internal static void AddData ( DataFromClient data )
12+ internal void AddData ( DataFromClient data )
1313 {
1414 lock ( mutex )
1515 {
@@ -108,7 +108,7 @@ internal static void AddData(DataFromClient data)
108108 }
109109 }
110110
111- internal static byte [ ] GetSingleMessage ( string clientRef )
111+ internal byte [ ] GetSingleMessage ( string clientRef )
112112 {
113113 lock ( mutex )
114114 {
You can’t perform that action at this time.
0 commit comments