C# 클래스 Griffin.Net.Protocols.Http.HttpMessageDecoder

상속: IMessageDecoder
파일 보기 프로젝트 열기: jgauffin/Griffin.Framework 1 사용 예제들

공개 메소드들

메소드 설명
Clear ( ) : void

Reset decoder state so that we can decode a new message

HttpMessageDecoder ( ) : System

Initializes a new instance of the HttpMessageDecoder class.

HttpMessageDecoder ( IMessageSerializer messageSerializer ) : System

Initializes a new instance of the HttpMessageDecoder class.

ProcessReadBytes ( ISocketBuffer buffer ) : void

We've received bytes from the socket. Build a message out of them.

비공개 메소드들

메소드 설명
BytesProcessed ( int startOffset, int currentOffset ) : int
OnHeader ( string name, string value ) : void
OnHeaderParsed ( ) : void
OnRequestLine ( string part1, string part2, string part3 ) : void
TriggerMessageReceived ( Griffin.Net.Protocols.Http.HttpMessage message ) : void

메소드 상세

Clear() 공개 메소드

Reset decoder state so that we can decode a new message
public Clear ( ) : void
리턴 void

HttpMessageDecoder() 공개 메소드

Initializes a new instance of the HttpMessageDecoder class.
public HttpMessageDecoder ( ) : System
리턴 System

HttpMessageDecoder() 공개 메소드

Initializes a new instance of the HttpMessageDecoder class.
messageSerializer
public HttpMessageDecoder ( IMessageSerializer messageSerializer ) : System
messageSerializer IMessageSerializer The message serializer.
리턴 System

ProcessReadBytes() 공개 메소드

We've received bytes from the socket. Build a message out of them.
public ProcessReadBytes ( ISocketBuffer buffer ) : void
buffer ISocketBuffer Buffer
리턴 void