Package | Description |
---|---|
org.apache.vinci.transport | |
org.apache.vinci.transport.document | |
org.apache.vinci.transport.vns.client | |
org.apache.vinci.transport.vns.service |
Modifier and Type | Class and Description |
---|---|
class |
Attributes
Class for representing a list of attributes for an XML element.
|
class |
ErrorFrame
This is a special VinciFrame that simplifies returning error or exceptional conditions.
|
class |
QueryableFrame
QueryableFrame is a decorator class that extends Frame.
|
class |
VinciFrame
This is the "default" document class for use with the Vinci client and servable classes.
|
Modifier and Type | Method and Description |
---|---|
Frame |
Frame.createSubFrame(String tag_name,
int initialCapacity)
Factory method used by fromStream when it needs to create a sub-frame.
|
Frame |
VinciFrame.createSubFrame(String tag_name,
int initialCapacity)
Override the createSubFrame to create a VinciFrame of precise capacity.
|
Frame |
Frame.fadd(String key)
Decorator method for adding a valueless tag.
|
Frame |
Attributes.fadd(String key)
This method throws an unchecked exception since valueless attributes are undefined.
|
Frame |
Frame.fadd(String key,
boolean val)
Decorator method for adding boolean valued tags.
|
Frame |
Frame.fadd(String key,
byte[] val)
Decorator method for adding binary valued tags.
|
Frame |
Frame.fadd(String key,
double val)
Decorator method for adding double valued tags.
|
Frame |
Frame.fadd(String key,
double[] val)
Decorator method for adding double-array valued tags.
|
Frame |
Frame.fadd(String key,
float val)
Decorator method for adding float-valued tags.
|
Frame |
Frame.fadd(String key,
float[] val)
Decorator method for adding float-array valued tags.
|
Frame |
Frame.fadd(String key,
Frame val)
Decorator method for adding Frame-valued tags.
|
Frame |
Attributes.fadd(String key,
Frame val)
This method throws an unchecked exception since you should never add non-leaf valued
attributes.
|
Frame |
Frame.fadd(String key,
int val)
Decorator method for adding int valued tags.
|
Frame |
Frame.fadd(String key,
int[] val)
Decorator method for adding int-array valued tags.
|
Frame |
Frame.fadd(String key,
long val)
Decorator method for adding long valued tags.
|
Frame |
Frame.fadd(String key,
long[] val)
Decorator method for adding long-array valued tags.
|
Frame |
Frame.fadd(String key,
String val)
Decorator method for adding String valued tags.
|
Frame |
Frame.fadd(String key,
String[] val)
Decorator method for adding String-array valued tags.
|
Frame |
Frame.faddTrueBinary(String key,
byte[] val)
This is a hack method which allows you to add binary-valued tags to Frames in a manner such
that there is no textual encoding overhead of that binary data.
|
Frame |
KeyValuePair.getValueAsFrame() |
Modifier and Type | Method and Description |
---|---|
void |
XTalkTransporter.consumeChildren(InputStream is,
Frame f,
int field_count,
int marker,
byte[] buffer,
char[] cbuffer) |
KeyValuePair |
XTalkTransporter.consumeRootChildren(InputStream is,
Frame f,
byte[] buffer,
char[] cbuffer) |
KeyValuePair |
XTalkTransporter.consumeRootElement(InputStream is,
Frame f,
byte[] buffer,
char[] cbuffer) |
void |
XTalkTransporter.elementToBin(OutputStream os,
Frame f,
byte[] workbuf) |
Frame |
Frame.fadd(String key,
Frame val)
Decorator method for adding Frame-valued tags.
|
Frame |
Attributes.fadd(String key,
Frame val)
This method throws an unchecked exception since you should never add non-leaf valued
attributes.
|
KeyValuePair |
XTalkTransporter.fromStream(InputStream is,
Frame f)
Parse the data-stream according to the XTalk protocol.
|
KeyValuePair |
FrameTransporter.fromStream(InputStream is,
Frame f)
Marshal the frame to the input stream.
|
KeyValuePair |
XTalkTransporter.fromStreamWork(InputStream is,
Frame f)
Once we know that this is an XTalk document, perform XTalk parsing.
|
KeyValuePair |
XTalkTransporter.fromStreamWork(InputStream is,
Frame f,
byte[] buffer,
char[] cbuffer) |
VinciFrame |
VinciFrame.fset(String key,
Frame val)
Change the value associated with the first occurence of the given key to val.
|
VinciFrame |
Attributes.fset(String key,
Frame val)
This method throws an unchecked exception since you should never add non-leaf valued
attributes.
|
void |
XTalkTransporter.toStream(OutputStream os,
Frame f) |
void |
FrameTransporter.toStream(OutputStream os,
Frame f)
Populate the (empty) frame from the stream contents.
|
Modifier and Type | Class and Description |
---|---|
class |
AFrame
This class is a VinciFrame with extensions for support of XML attributes.
|
Modifier and Type | Method and Description |
---|---|
Frame |
AFrame.createSubFrame(String tag_name,
int initialCapacity)
Override the createSubFrame to create an AFrame of precise capacity.
|
Modifier and Type | Class and Description |
---|---|
class |
ResolveResult
Specialized document (Frame) for representing the result of resolving a service name to host/port
through VNS.
|
static class |
ResolveResult.ServiceLocator |
class |
ServeonResult
Specialized document (Frame) for representing result of querying VNS for the port on which a
service should be provided.
|
Modifier and Type | Method and Description |
---|---|
static Frame |
ResolveResult.composeQuery(String service_name)
Create a document representing the VNS resolve query for the specified service.
|
static Frame |
ResolveResult.composeQuery(String service_name,
int mypriority)
Create a document representing the VNS resolve query for the highest priority service(s) whose
priority is strictly below the specified priority.
|
Frame |
ResolveResult.createSubFrame(String key,
int capacity)
Override the Frame createSubFrame method to create a ServiceLocator.
|
Modifier and Type | Method and Description |
---|---|
Frame |
Service.toFrame() |
Frame |
ServiceAlias.toFrame() |
Copyright © 2016. All rights reserved.