C# 클래스 DotNetWorkQueue.Interceptors.GZipMessageInterceptor

Compresses and de-compress messages using the built in GZIP library
상속: IMessageInterceptor
파일 보기 프로젝트 열기: blehnen/DotNetWorkQueue 1 사용 예제들

공개 메소드들

메소드 설명
BytesToMessage ( byte input ) : byte[]

Runs the interceptor on the input and returns the output as a byte array. Used to re-construct a message stream.

GZipMessageInterceptor ( GZipMessageInterceptorConfiguration configuration ) : System.IO

Initializes a new instance of the GZipMessageInterceptor class.

MessageToBytes ( byte input ) : MessageInterceptorResult

Runs the interceptor on the input and returns the output as a byte array. Used to serialize a message stream.

메소드 상세

BytesToMessage() 공개 메소드

Runs the interceptor on the input and returns the output as a byte array. Used to re-construct a message stream.
public BytesToMessage ( byte input ) : byte[]
input byte The input.
리턴 byte[]

GZipMessageInterceptor() 공개 메소드

Initializes a new instance of the GZipMessageInterceptor class.
public GZipMessageInterceptor ( GZipMessageInterceptorConfiguration configuration ) : System.IO
configuration GZipMessageInterceptorConfiguration The configuration.
리턴 System.IO

MessageToBytes() 공개 메소드

Runs the interceptor on the input and returns the output as a byte array. Used to serialize a message stream.
public MessageToBytes ( byte input ) : MessageInterceptorResult
input byte The input.
리턴 MessageInterceptorResult