Uses of Class
org.apache.vinci.transport.Frame
-
Packages that use Frame Package Description org.apache.vinci.transport org.apache.vinci.transport.document org.apache.vinci.transport.vns.client org.apache.vinci.transport.vns.service -
-
Uses of Frame in org.apache.vinci.transport
Subclasses of Frame in org.apache.vinci.transport Modifier and Type Class 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.Methods in org.apache.vinci.transport that return Frame Modifier and Type Method Description Frame
Frame. createSubFrame(java.lang.String tag_name, int initialCapacity)
Factory method used by fromStream when it needs to create a sub-frame.Frame
VinciFrame. createSubFrame(java.lang.String tag_name, int initialCapacity)
Override the createSubFrame to create a VinciFrame of precise capacity.Frame
Attributes. fadd(java.lang.String key)
This method throws an unchecked exception since valueless attributes are undefined.Frame
Attributes. fadd(java.lang.String key, Frame val)
This method throws an unchecked exception since you should never add non-leaf valued attributes.Frame
Frame. fadd(java.lang.String key)
Decorator method for adding a valueless tag.Frame
Frame. fadd(java.lang.String key, boolean val)
Decorator method for adding boolean valued tags.Frame
Frame. fadd(java.lang.String key, byte[] val)
Decorator method for adding binary valued tags.Frame
Frame. fadd(java.lang.String key, double val)
Decorator method for adding double valued tags.Frame
Frame. fadd(java.lang.String key, double[] val)
Decorator method for adding double-array valued tags.Frame
Frame. fadd(java.lang.String key, float val)
Decorator method for adding float-valued tags.Frame
Frame. fadd(java.lang.String key, float[] val)
Decorator method for adding float-array valued tags.Frame
Frame. fadd(java.lang.String key, int val)
Decorator method for adding int valued tags.Frame
Frame. fadd(java.lang.String key, int[] val)
Decorator method for adding int-array valued tags.Frame
Frame. fadd(java.lang.String key, long val)
Decorator method for adding long valued tags.Frame
Frame. fadd(java.lang.String key, long[] val)
Decorator method for adding long-array valued tags.Frame
Frame. fadd(java.lang.String key, java.lang.String val)
Decorator method for adding String valued tags.Frame
Frame. fadd(java.lang.String key, java.lang.String[] val)
Decorator method for adding String-array valued tags.Frame
Frame. fadd(java.lang.String key, Frame val)
Decorator method for adding Frame-valued tags.Frame
Frame. faddTrueBinary(java.lang.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()
Methods in org.apache.vinci.transport with parameters of type Frame Modifier and Type Method Description void
XTalkTransporter. consumeChildren(java.io.InputStream is, Frame f, int field_count, int marker, byte[] buffer, char[] cbuffer)
KeyValuePair
XTalkTransporter. consumeRootChildren(java.io.InputStream is, Frame f, byte[] buffer, char[] cbuffer)
KeyValuePair
XTalkTransporter. consumeRootElement(java.io.InputStream is, Frame f, byte[] buffer, char[] cbuffer)
void
XTalkTransporter. elementToBin(java.io.OutputStream os, Frame f, byte[] workbuf)
Frame
Attributes. fadd(java.lang.String key, Frame val)
This method throws an unchecked exception since you should never add non-leaf valued attributes.Frame
Frame. fadd(java.lang.String key, Frame val)
Decorator method for adding Frame-valued tags.KeyValuePair
FrameTransporter. fromStream(java.io.InputStream is, Frame f)
Marshal the frame to the input stream.KeyValuePair
XTalkTransporter. fromStream(java.io.InputStream is, Frame f)
Parse the data-stream according to the XTalk protocol.KeyValuePair
XTalkTransporter. fromStreamWork(java.io.InputStream is, Frame f)
Once we know that this is an XTalk document, perform XTalk parsing.KeyValuePair
XTalkTransporter. fromStreamWork(java.io.InputStream is, Frame f, byte[] buffer, char[] cbuffer)
VinciFrame
Attributes. fset(java.lang.String key, Frame val)
This method throws an unchecked exception since you should never add non-leaf valued attributes.VinciFrame
VinciFrame. fset(java.lang.String key, Frame val)
Change the value associated with the first occurence of the given key to val.void
FrameTransporter. toStream(java.io.OutputStream os, Frame f)
Populate the (empty) frame from the stream contents.void
XTalkTransporter. toStream(java.io.OutputStream os, Frame f)
-
Uses of Frame in org.apache.vinci.transport.document
Subclasses of Frame in org.apache.vinci.transport.document Modifier and Type Class Description class
AFrame
This class is a VinciFrame with extensions for support of XML attributes.Methods in org.apache.vinci.transport.document that return Frame Modifier and Type Method Description Frame
AFrame. createSubFrame(java.lang.String tag_name, int initialCapacity)
Override the createSubFrame to create an AFrame of precise capacity. -
Uses of Frame in org.apache.vinci.transport.vns.client
Subclasses of Frame in org.apache.vinci.transport.vns.client Modifier and Type Class 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.Methods in org.apache.vinci.transport.vns.client that return Frame Modifier and Type Method Description static Frame
ResolveResult. composeQuery(java.lang.String service_name)
Create a document representing the VNS resolve query for the specified service.static Frame
ResolveResult. composeQuery(java.lang.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(java.lang.String key, int capacity)
Override the Frame createSubFrame method to create a ServiceLocator. -
Uses of Frame in org.apache.vinci.transport.vns.service
Methods in org.apache.vinci.transport.vns.service that return Frame Modifier and Type Method Description Frame
Service. toFrame()
Frame
ServiceAlias. toFrame()
-