C# 클래스 burlapcsharp.io.CBurlapOutput

상속: AbstractBurlapOutput
파일 보기 프로젝트 열기: timfel/csharp-hessian 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
m_srOutput Stream

공개 메소드들

메소드 설명
AddRef ( object objReference ) : bool

If the object has already been written, just write its ref.

CBurlapOutput ( Stream srOutput ) : System

Constructor

Call ( string strMethod, object args ) : void

Writes a complete method call.

CompleteCall ( ) : void

Completes.

  

CompleteReply ( ) : void

Completes reading the reply

A successful completion will have a single value:

  

Init ( Stream srOutput ) : void

Initializes the output

PrintString ( String v ) : void

Prints a string to the stream, encoded as UTF-8

PrintString ( System v, int offset, int length ) : void

Prints a string to the stream, encoded as UTF-8

PrintString ( char v, int offset, int length ) : void

Prints a string to the stream, encoded as UTF-8

RemoveRef ( object objReference ) : bool

Removes a reference

ReplaceRef ( object objOldReference, object objNewReference ) : bool

Replaces a reference from one object to another

StartCall ( ) : void

Starts the method call. Clients would use startCall instead of call if they wanted finer control over writing the arguments, or needed to write headers.

 method-name 

StartCall ( String method ) : void

Starts the method call. Clients would use startCall instead of call if they wanted finer control over writing the arguments, or needed to write headers.

  method-name 

StartReply ( ) : void

Starts the reply

A successful completion will have a single value:

WriteBoolean ( bool bValue ) : void

Writes a boolean value to the stream. The boolean will be written with the following syntax:

 0 1 

WriteByteBufferEnd ( byte buffer, int offset, int length ) : void

Writes a byte buffer to the stream.

 b b16 b18 bytes 

WriteByteBufferPart ( byte buffer, int offset, int length ) : void

Writes a byte buffer to the stream.

 b b16 b18 bytes 

WriteBytes ( byte buffer ) : void

Writes a byte array to the stream. The array will be written with the following syntax:

 bytes 
If the value is null, it will be written as
  

WriteBytes ( byte buffer, int offset, int length ) : void

Writes a byte array to the stream. The array will be written with the following syntax:

 bytes 
If the value is null, it will be written as
  

WriteDouble ( double dValue ) : void

Writes a double value to the stream. The double will be written with the following syntax:

 value 

WriteFault ( System code, System message, System detail ) : void

Writes a fault. The fault will be written as a descriptive string followed by an object:

  code the fault code message the fault mesage detail t\x00\xnnjavax.ejb.FinderException ...   

WriteHeader ( String name ) : void

Writes a header name. The header value must immediately follow.

 
foo
value<;/int>

WriteInt ( int intValue ) : void

Writes an integer value to the stream. The integer will be written with the following syntax:

 int value 

WriteListBegin ( int length, String type ) : void

Writes the list header to the stream. List writers will call writeListBegin followed by the list contents and then call writeListEnd.

  ArrayList 3 1 2 3  

WriteListEnd ( ) : void

Writes the tail of the list to the stream.

WriteLong ( long lValue ) : void

Writes a long value to the stream. The long will be written with the following syntax:

 int value 

WriteMapBegin ( System type ) : void

Writes the map header to the stream. Map writers will call writeMapBegin followed by the map contents and then call writeMapEnd.

  type ( )*  

WriteMapEnd ( ) : void

Writes the tail of the map to the stream.

WriteMethod ( String method ) : void

Writes the method for a call.

 value 

WriteNull ( ) : void

Writes a null value to the stream. The null will be written with the following syntax

  

WriteObject ( object obj ) : void

Writes any object to the output stream.

WriteRef ( int intValue ) : void

Writes a reference.

 int 

WriteRemote ( String type, String url ) : void

Writes a remote object reference to the stream. The type is the type of the remote interface.

  test.account.Account http://caucho.com/foo;ejbid=bar  

WriteString ( String sValue ) : void

Writes a string value to the stream using UTF-8 encoding. The string will be written with the following syntax:

 string-value 
If the value is null, it will be written as
  

WriteString ( char buffer, int offset, int length ) : void

Writes a string value to the stream using UTF-8 encoding. The string will be written with the following syntax:

 S b16 b8 string-value 
If the value is null, it will be written as
 N 

WriteUTCDate ( long time ) : void

Writes a date to the stream.

 iso8901 

printDate ( System.DateTime dateTime ) : void

Prints a date.

보호된 메소드들

메소드 설명
Print ( String str ) : void

Prints a string as ascii to the stream. Used for tags, etc. that are known to the ascii.

Print ( char v ) : void

Prints a char to the stream.

Print ( double v ) : void

Prints a double to the stream.

Print ( int v ) : void

Prints an integer to the stream.

Print ( long v ) : void

Prints a long to the stream.

비공개 메소드들

메소드 설명
Encode ( int d ) : char

Encodes a digit

메소드 상세

AddRef() 공개 메소드

If the object has already been written, just write its ref.
public AddRef ( object objReference ) : bool
objReference object the object to add as a reference
리턴 bool

CBurlapOutput() 공개 메소드

Constructor
public CBurlapOutput ( Stream srOutput ) : System
srOutput Stream Output stream
리턴 System

Call() 공개 메소드

Writes a complete method call.
public Call ( string strMethod, object args ) : void
strMethod string Method name
args object Method args
리턴 void

CompleteCall() 공개 메소드

Completes.
  
public CompleteCall ( ) : void
리턴 void

CompleteReply() 공개 메소드

Completes reading the reply

A successful completion will have a single value:

  
public CompleteReply ( ) : void
리턴 void

Init() 공개 메소드

Initializes the output
public Init ( Stream srOutput ) : void
srOutput Stream Output stream
리턴 void

Print() 보호된 메소드

Prints a string as ascii to the stream. Used for tags, etc. that are known to the ascii.
protected Print ( String str ) : void
str String the ascii string to print. ///
리턴 void

Print() 보호된 메소드

Prints a char to the stream.
protected Print ( char v ) : void
v char the char to print. ///
리턴 void

Print() 보호된 메소드

Prints a double to the stream.
protected Print ( double v ) : void
v double the double to print. ///
리턴 void

Print() 보호된 메소드

Prints an integer to the stream.
protected Print ( int v ) : void
v int the integer to print. ///
리턴 void

Print() 보호된 메소드

Prints a long to the stream.
protected Print ( long v ) : void
v long the long to print. ///
리턴 void

PrintString() 공개 메소드

Prints a string to the stream, encoded as UTF-8
public PrintString ( String v ) : void
v String the string to print. ///
리턴 void

PrintString() 공개 메소드

Prints a string to the stream, encoded as UTF-8
public PrintString ( System v, int offset, int length ) : void
v System the string to print. ///
offset int
length int
리턴 void

PrintString() 공개 메소드

Prints a string to the stream, encoded as UTF-8
public PrintString ( char v, int offset, int length ) : void
v char the string to print. ///
offset int
length int
리턴 void

RemoveRef() 공개 메소드

Removes a reference
public RemoveRef ( object objReference ) : bool
objReference object Object reference to remove
리턴 bool

ReplaceRef() 공개 메소드

Replaces a reference from one object to another
public ReplaceRef ( object objOldReference, object objNewReference ) : bool
objOldReference object Old object reference
objNewReference object New object reference
리턴 bool

StartCall() 공개 메소드

Starts the method call. Clients would use startCall instead of call if they wanted finer control over writing the arguments, or needed to write headers.
 method-name 
public StartCall ( ) : void
리턴 void

StartCall() 공개 메소드

Starts the method call. Clients would use startCall instead of call if they wanted finer control over writing the arguments, or needed to write headers.
  method-name 
public StartCall ( String method ) : void
method String the method name to call. ///
리턴 void

StartReply() 공개 메소드

Starts the reply

A successful completion will have a single value:

public StartReply ( ) : void
리턴 void

WriteBoolean() 공개 메소드

Writes a boolean value to the stream. The boolean will be written with the following syntax:
 0 1 
public WriteBoolean ( bool bValue ) : void
bValue bool the boolean value to write. ///
리턴 void

WriteByteBufferEnd() 공개 메소드

Writes a byte buffer to the stream.
 b b16 b18 bytes 
public WriteByteBufferEnd ( byte buffer, int offset, int length ) : void
buffer byte
offset int
length int
리턴 void

WriteByteBufferPart() 공개 메소드

Writes a byte buffer to the stream.
 b b16 b18 bytes 
public WriteByteBufferPart ( byte buffer, int offset, int length ) : void
buffer byte
offset int
length int
리턴 void

WriteBytes() 공개 메소드

Writes a byte array to the stream. The array will be written with the following syntax:
 bytes 
If the value is null, it will be written as
  
public WriteBytes ( byte buffer ) : void
buffer byte
리턴 void

WriteBytes() 공개 메소드

Writes a byte array to the stream. The array will be written with the following syntax:
 bytes 
If the value is null, it will be written as
  
public WriteBytes ( byte buffer, int offset, int length ) : void
buffer byte
offset int
length int
리턴 void

WriteDouble() 공개 메소드

Writes a double value to the stream. The double will be written with the following syntax:
 value 
public WriteDouble ( double dValue ) : void
dValue double
리턴 void

WriteFault() 공개 메소드

Writes a fault. The fault will be written as a descriptive string followed by an object:
  code the fault code message the fault mesage detail t\x00\xnnjavax.ejb.FinderException ...   
public WriteFault ( System code, System message, System detail ) : void
code System the fault code, a three digit ///
message System
detail System
리턴 void

WriteHeader() 공개 메소드

Writes a header name. The header value must immediately follow.
 
foo
value<;/int>
public WriteHeader ( String name ) : void
name String
리턴 void

WriteInt() 공개 메소드

Writes an integer value to the stream. The integer will be written with the following syntax:
 int value 
public WriteInt ( int intValue ) : void
intValue int
리턴 void

WriteListBegin() 공개 메소드

Writes the list header to the stream. List writers will call writeListBegin followed by the list contents and then call writeListEnd.
  ArrayList 3 1 2 3  
public WriteListBegin ( int length, String type ) : void
length int
type String
리턴 void

WriteListEnd() 공개 메소드

Writes the tail of the list to the stream.
public WriteListEnd ( ) : void
리턴 void

WriteLong() 공개 메소드

Writes a long value to the stream. The long will be written with the following syntax:
 int value 
public WriteLong ( long lValue ) : void
lValue long
리턴 void

WriteMapBegin() 공개 메소드

Writes the map header to the stream. Map writers will call writeMapBegin followed by the map contents and then call writeMapEnd.
  type ( )*  
public WriteMapBegin ( System type ) : void
type System
리턴 void

WriteMapEnd() 공개 메소드

Writes the tail of the map to the stream.
public WriteMapEnd ( ) : void
리턴 void

WriteMethod() 공개 메소드

Writes the method for a call.
 value 
public WriteMethod ( String method ) : void
method String the method name to call. ///
리턴 void

WriteNull() 공개 메소드

Writes a null value to the stream. The null will be written with the following syntax
  
public WriteNull ( ) : void
리턴 void

WriteObject() 공개 메소드

Writes any object to the output stream.
public WriteObject ( object obj ) : void
obj object object to write
리턴 void

WriteRef() 공개 메소드

Writes a reference.
 int 
public WriteRef ( int intValue ) : void
intValue int
리턴 void

WriteRemote() 공개 메소드

Writes a remote object reference to the stream. The type is the type of the remote interface.
  test.account.Account http://caucho.com/foo;ejbid=bar  
public WriteRemote ( String type, String url ) : void
type String
url String
리턴 void

WriteString() 공개 메소드

Writes a string value to the stream using UTF-8 encoding. The string will be written with the following syntax:
 string-value 
If the value is null, it will be written as
  
public WriteString ( String sValue ) : void
sValue String
리턴 void

WriteString() 공개 메소드

Writes a string value to the stream using UTF-8 encoding. The string will be written with the following syntax:
 S b16 b8 string-value 
If the value is null, it will be written as
 N 
public WriteString ( char buffer, int offset, int length ) : void
buffer char
offset int
length int
리턴 void

WriteUTCDate() 공개 메소드

Writes a date to the stream.
 iso8901 
public WriteUTCDate ( long time ) : void
time long the date in milliseconds from the epoch in UTC ///
리턴 void

printDate() 공개 메소드

Prints a date.
public printDate ( System.DateTime dateTime ) : void
dateTime System.DateTime
리턴 void

프로퍼티 상세

m_srOutput 보호되어 있는 프로퍼티

the output stream
protected Stream m_srOutput
리턴 Stream