com.esri.arcgis.server
Interface IResponseStreamer

All Known Implementing Classes:
IResponseStreamerProxy, ResponseStreamer

public interface IResponseStreamer

COM Interface 'IResponseStreamer'. Generated 6/6/2012 11:18:33 AM from 'C:\ArcGIS\com\esriServer.olb'

Description: 'An interface for streaming responses.' Generator Options: PromptForTypeLibraries = True ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = False ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = False GenerateJavadoc =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IIDe7b4f042_dd12_3ce9_a801_0f47bc498f47
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 void close()
          Closes the response stream.
 int getBufferSize()
          The size of each response chunk that the client will receive.
 void init(java.lang.String contentType, java.lang.String contentEncoding)
          Initializes the Response streamer.
 void write(byte[] bytes)
          Writes a byte array as a response stream.
 

Field Detail

IIDe7b4f042_dd12_3ce9_a801_0f47bc498f47

static final int IIDe7b4f042_dd12_3ce9_a801_0f47bc498f47
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

init

void init(java.lang.String contentType,
          java.lang.String contentEncoding)
          throws java.io.IOException,
                 AutomationException
Initializes the Response streamer.

Parameters:
contentType - The contentType (in)
contentEncoding - The contentEncoding (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

write

void write(byte[] bytes)
           throws java.io.IOException,
                  AutomationException
Writes a byte array as a response stream.

Parameters:
bytes - An unsigned byte (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getBufferSize

int getBufferSize()
                  throws java.io.IOException,
                         AutomationException
The size of each response chunk that the client will receive.

Returns:
The size
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

close

void close()
           throws java.io.IOException,
                  AutomationException
Closes the response stream.

Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.