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

Nexacro17.Xapi.Tx.PlatformTransaction를(을) 상속했습니다.

Public 멤버 함수

 PlatformRequest ()
 
 PlatformRequest (string contentType)
 
 PlatformRequest (string contentType, string charset)
 
 PlatformRequest (Stream stream)
 
 PlatformRequest (Stream stream, string contentType)
 
 PlatformRequest (Stream stream, string contentType, string charset)
 
 PlatformRequest (StreamReader reader)
 
 PlatformRequest (StreamReader reader, string contentType)
 
 PlatformRequest (StreamReader reader, string contentType, string charset)
 
void SetProperty (string key, string value)
 
void ReceiveData ()
 
- Nexacro17.Xapi.Tx.PlatformTransaction(으)로부터 상속된 Public 멤버 함수
string GetContentType ()
 
void SetContentType (string contentType)
 
string GetCharset ()
 
void SetCharset (string charset)
 
string GetProtocolType (int index)
 
void AddProtocolType (string protocolType)
 
void RemoveProtocolType (int index)
 
void RemoveProtocolType (string protocolType)
 
bool ContainsProtocolType (string protocolType)
 
void ClearProtocolTypes ()
 
int GetProtocolTypeCount ()
 
PlatformData GetData ()
 
void SetData (PlatformData data)
 
DataTypeChanger GetDataTypeChanger ()
 
void SetDataTypeChanger (DataTypeChanger dataTypeChanger)
 
bool IsVerbose ()
 
void SetVerbose (bool verbose)
 
object GetProperty (string key)
 
void SetProperty (string key, object value)
 
void CheckLicense ()
 

추가로 상속된 멤버들

- Nexacro17.Xapi.Tx.PlatformTransaction(으)로부터 상속된 Protected 멤버 함수
 PlatformTransaction ()
 
 PlatformTransaction (string contentType)
 
 PlatformTransaction (string contentType, string charset)
 
string GetCurrentContentType ()
 
string GetCurrentCharset ()
 
bool IsCurrentVerbose ()
 
string GetDefaultContentType ()
 
string GetDefaultCharset ()
 

상세한 설명

InputStream 또는 Reader로부터 데이터(PlatformData)를 수신받는다.

InputStream 또는 Reader로부터 읽은 데이터(stream)는 ProtocolDecoder에 의해 압축 해제, 복호화 등이 수행된 후 DataDeserializer에 의해 PlatformData으로 변환된다.

ProtocolDecoder는 프로토콜 형식(protocolType)에 의해 적용되며, DataDeserializer는 송수신 형식(contentType)에 의해 적용된다. 그리고, ProtocolDecoder는 복수개의 적용이 가능하다.

작성자
최철민

생성자 & 소멸자 문서화

◆ PlatformRequest() [1/9]

Nexacro17.Xapi.Tx.PlatformRequest.PlatformRequest ( )

기본 생성자이다.

◆ PlatformRequest() [2/9]

Nexacro17.Xapi.Tx.PlatformRequest.PlatformRequest ( string  contentType)

송수신 형식(contentType)을 가지는 생성자이다.

매개변수
contentType송수신 형식
참고
PlatformType::CONTENT_TYPE_XML
PlatformType::CONTENT_TYPE_BINARY

◆ PlatformRequest() [3/9]

Nexacro17.Xapi.Tx.PlatformRequest.PlatformRequest ( string  contentType,
string  charset 
)

송수신 형식(contentType)과 문자셋(charset)을 가지는 생성자이다.

매개변수
contentType송수신 형식
charset문자셋
참고
PlatformType::CONTENT_TYPE_XML
PlatformType::CONTENT_TYPE_BINARY

◆ PlatformRequest() [4/9]

Nexacro17.Xapi.Tx.PlatformRequest.PlatformRequest ( Stream  stream)

InputStream을 가지는 생성자이다.

매개변수
streamStream

◆ PlatformRequest() [5/9]

Nexacro17.Xapi.Tx.PlatformRequest.PlatformRequest ( Stream  stream,
string  contentType 
)

InputStream과 송수신 형식(contentType)을 가지는 생성자이다.

매개변수
streamStream
contentType송수신 형식
참고
PlatformType::CONTENT_TYPE_XML
PlatformType::CONTENT_TYPE_BINARY

◆ PlatformRequest() [6/9]

Nexacro17.Xapi.Tx.PlatformRequest.PlatformRequest ( Stream  stream,
string  contentType,
string  charset 
)

Stream, 송수신 형식(contentType)과 문자셋(charset)을 가지는 생성자이다.

매개변수
streamStream
contentType송수신 형식
charset문자셋
참고
PlatformType::CONTENT_TYPE_XML
PlatformType::CONTENT_TYPE_BINARY

◆ PlatformRequest() [7/9]

Nexacro17.Xapi.Tx.PlatformRequest.PlatformRequest ( StreamReader  reader)

Reader를 가지는 생성자이다.

매개변수
readerReader

◆ PlatformRequest() [8/9]

Nexacro17.Xapi.Tx.PlatformRequest.PlatformRequest ( StreamReader  reader,
string  contentType 
)

Reader와 송수신 형식(contentType)을 가지는 생성자이다.

매개변수
readerReader
contentType송수신 형식
참고
PlatformType::CONTENT_TYPE_XML
PlatformType::CONTENT_TYPE_BINARY

◆ PlatformRequest() [9/9]

Nexacro17.Xapi.Tx.PlatformRequest.PlatformRequest ( StreamReader  reader,
string  contentType,
string  charset 
)

Reader, 송수신 형식(contentType)과 문자셋(charset)을 가지는 생성자이다.

매개변수
readerReader
contentType송수신 형식
charset문자셋
참고
PlatformType::CONTENT_TYPE_XML
PlatformType::CONTENT_TYPE_BINARY

멤버 함수 문서화

◆ SetProperty()

void Nexacro17.Xapi.Tx.PlatformRequest.SetProperty ( string  key,
string  value 
)

속성값을 반환한다.

설정가능한 속성값은 다음과 같다.

속성명 데이터 형식 유효한 값 기본값 설 명
deserializer.data.emptytonull String true 또는 false false 데이터 형식(dataType)이 DataTypes.STRING 인 경우 빈 문자열의 null 변환 여부
매개변수
key속성명
반환값
속성값
참고
#setProperty(String, Object) 속성값을 설정한다.
매개변수
key속성명
value속성값
참고
#getProperty(String)

◆ ReceiveData()

void Nexacro17.Xapi.Tx.PlatformRequest.ReceiveData ( )

InputStream 또는 Reader로부터 데이터를 수신받는다.

송수신 형식(contentType)이 설정되지 않은 경우 PlatformType.DEFAULT_CONTENT_TYPE이 적용된다.