Logo Search packages:      
Sourcecode: uimaj version File versions  Download package

Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Private Member Functions | Static Private Member Functions | Static Private Attributes

org::apache::vinci::transport::XTalkTransporter Class Reference

Inheritance diagram for org::apache::vinci::transport::XTalkTransporter:
Inheritance graph
[legend]
Collaboration diagram for org::apache::vinci::transport::XTalkTransporter:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void attributesToBin (OutputStream os, Attributes attributes, byte[] workbuf) throws IOException
void consumeChildren (InputStream is, Frame f, int field_count, int marker, byte[] buffer, char[] cbuffer) throws IOException
KeyValuePair consumeRootChildren (InputStream is, Frame f, byte[] buffer, char[] cbuffer) throws IOException
KeyValuePair consumeRootElement (InputStream is, Frame f, byte[] buffer, char[] cbuffer) throws IOException
void elementToBin (OutputStream os, Frame f, byte[] workbuf) throws IOException
KeyValuePair fromStream (InputStream is, Frame f) throws IOException, EOFException
KeyValuePair fromStreamWork (InputStream is, Frame f, byte[] buffer, char[] cbuffer) throws IOException
KeyValuePair fromStreamWork (InputStream is, Frame f) throws IOException
void toStream (OutputStream os, Frame f) throws IOException

Static Public Member Functions

static int consumeCharacters (InputStream is, byte[] byteBuf, char[] charBuf, int bytesToRead) throws IOException
static String consumeString (InputStream is, byte[] buffer, char[] cbuffer) throws IOException
static String consumeString (InputStream is) throws IOException
static void readFully (byte[] b, int length, InputStream in) throws IOException
static void readFully (byte[] b, InputStream in) throws IOException
static int readInt (InputStream in) throws IOException
static void stringToBin (char[] str, int begin, int len, OutputStream os) throws IOException
static void stringToBin (String str, OutputStream os) throws IOException
static void stringToBin (char[] str, int begin, int len, OutputStream os, byte[] buffer) throws IOException
static void stringToBin (String str, OutputStream os, byte[] buffer) throws IOException
static void writeInt (int write_me, OutputStream out) throws IOException

Static Public Attributes

static final byte DOCUMENT_MARKER = (byte) 'X'
static final byte ELEMENT_MARKER = (byte) 'E'
static final byte[] HEADER = { DOCUMENT_MARKER, VERSION_CODE, 0, 0, 0, 1, ELEMENT_MARKER }
static final byte PI_MARKER = (byte) 'p'
static final byte STRING_MARKER = (byte) 's'
static final byte VERSION_CODE = (byte) 0

Protected Member Functions

void ignorePI (InputStream is) throws IOException

Private Member Functions

Attributes consumeAttributes (InputStream is, byte[] buffer, char[] cbuffer) throws IOException

Static Private Member Functions

static FrameLeaf consumeLeaf (InputStream is, Frame f) throws IOException
static void ignoreString (InputStream is) throws IOException

Static Private Attributes

static final String OVERSIZE_FIELD = "Oversize field: "
static final int OVERSIZE_KEY_LENGTH = 1024 * 1024 * 1024

Detailed Description

Implements XTalk marshalling of Frames.

Definition at line 33 of file XTalkTransporter.java.


The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index