Beispiel #1
0
 public ServerSessionDecoder(int maxViaLength, int maxContentTypeLength)
 {
     viaDecoder         = new ViaStringDecoder(maxViaLength);
     contentTypeDecoder = new ContentTypeStringDecoder(maxContentTypeLength);
     sizeDecoder        = new IntDecoder();
     Reset();
 }
Beispiel #2
0
 public ServerSingletonSizedDecoder(int maxViaLength, int maxContentTypeLength)
 {
     viaDecoder         = new ViaStringDecoder(maxViaLength);
     contentTypeDecoder = new ContentTypeStringDecoder(maxContentTypeLength);
     currentState       = State.ReadingViaRecord;
 }
Beispiel #3
0
 public ServerSingletonDecoder(int maxViaLength, int maxContentTypeLength)
 {
     viaDecoder         = new ViaStringDecoder(maxViaLength);
     contentTypeDecoder = new ContentTypeStringDecoder(maxContentTypeLength);
     Reset();
 }