nexacro17 X-API for C#  1.0
Manual
Nexacro17.Xapi.Tx.ProtocolFilterFactory 클래스 참조

정적 Public 멤버 함수

static Stream GetEncoder (string type, Stream outStream)
 
static StreamWriter GetEncoder (string type, StreamWriter writer)
 
static Stream GetDecoder (string type, Stream inputStream)
 
static StreamReader GetDecoder (string type, StreamReader reader)
 

상세한 설명

입출력 데이터(stream)의 압축, 암호화등의 변형을 수행하는 ProtocolEncoderProtocolDecoder를 생성한다.

기 구현된 ProtocolFilter는 다음과 같다.

형 식 byte 지원
(InputStream 또는 OutputStream)
char 지원
(Reader 또는 Writer)
설 명
PlatformType.PROTOCOL_TYPE_ZLIB v x ZLIB 방식으로 압축
참고
ProtocolEncoder
ProtocolDecoder
작성자
최철민

멤버 함수 문서화

◆ GetEncoder() [1/2]

static Stream Nexacro17.Xapi.Tx.ProtocolFilterFactory.GetEncoder ( string  type,
Stream  outStream 
)
static

형식(type)에 해당하는 ProtocolEncoder를 반환한다.

매개변수
type형식
out출력할 OutputStream
반환값
ProtocolEncoder

◆ GetEncoder() [2/2]

static StreamWriter Nexacro17.Xapi.Tx.ProtocolFilterFactory.GetEncoder ( string  type,
StreamWriter  writer 
)
static

형식(type)에 해당하는 ProtocolEncoder를 반환한다.

매개변수
type형식
out출력할 Writer
반환값
ProtocolEncoder

◆ GetDecoder() [1/2]

static Stream Nexacro17.Xapi.Tx.ProtocolFilterFactory.GetDecoder ( string  type,
Stream  inputStream 
)
static

형식(type)에 해당하는 ProtocolDecoder를 반환한다.

매개변수
type형식
in입력받을 InputStream
반환값
ProtocolDecoder

◆ GetDecoder() [2/2]

static StreamReader Nexacro17.Xapi.Tx.ProtocolFilterFactory.GetDecoder ( string  type,
StreamReader  reader 
)
static

형식(type)에 해당하는 ProtocolDecoder를 반환한다.

매개변수
type형식
in입력받을 Reader
반환값
ProtocolDecoder