Uses of Class
org.apache.vinci.transport.Frame
Package
Description
-
Uses of Frame in org.apache.vinci.transport
Modifier and TypeClassDescriptionclass
Class for representing a list of attributes for an XML element.class
This is a special VinciFrame that simplifies returning error or exceptional conditions.class
QueryableFrame is a decorator class that extends Frame.class
This is the "default" document class for use with the Vinci client and servable classes.Modifier and TypeMethodDescriptionFrame.createSubFrame
(String tag_name, int initialCapacity) Factory method used by fromStream when it needs to create a sub-frame.VinciFrame.createSubFrame
(String tag_name, int initialCapacity) Override the createSubFrame to create a VinciFrame of precise capacity.This method throws an unchecked exception since valueless attributes are undefined.This method throws an unchecked exception since you should never add non-leaf valued attributes.Decorator method for adding a valueless tag.Decorator method for adding boolean valued tags.Decorator method for adding binary valued tags.Decorator method for adding double valued tags.Decorator method for adding double-array valued tags.Decorator method for adding float-valued tags.Decorator method for adding float-array valued tags.Decorator method for adding int valued tags.Decorator method for adding int-array valued tags.Decorator method for adding long valued tags.Decorator method for adding long-array valued tags.Decorator method for adding String valued tags.Decorator method for adding String-array valued tags.Decorator method for adding Frame-valued tags.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.KeyValuePair.getValueAsFrame()
Modifier and TypeMethodDescriptionvoid
XTalkTransporter.consumeChildren
(InputStream is, Frame f, int field_count, int marker, byte[] buffer, char[] cbuffer) XTalkTransporter.consumeRootChildren
(InputStream is, Frame f, byte[] buffer, char[] cbuffer) XTalkTransporter.consumeRootElement
(InputStream is, Frame f, byte[] buffer, char[] cbuffer) void
XTalkTransporter.elementToBin
(OutputStream os, Frame f, byte[] workbuf) This method throws an unchecked exception since you should never add non-leaf valued attributes.Decorator method for adding Frame-valued tags.FrameTransporter.fromStream
(InputStream is, Frame f) Marshal the frame to the input stream.XTalkTransporter.fromStream
(InputStream is, Frame f) Parse the data-stream according to the XTalk protocol.XTalkTransporter.fromStreamWork
(InputStream is, Frame f) Once we know that this is an XTalk document, perform XTalk parsing.XTalkTransporter.fromStreamWork
(InputStream is, Frame f, byte[] buffer, char[] cbuffer) This method throws an unchecked exception since you should never add non-leaf valued attributes.Change the value associated with the first occurence of the given key to val.void
FrameTransporter.toStream
(OutputStream os, Frame f) Populate the (empty) frame from the stream contents.void
XTalkTransporter.toStream
(OutputStream os, Frame f) -
Uses of Frame in org.apache.vinci.transport.document
Modifier and TypeClassDescriptionclass
This class is a VinciFrame with extensions for support of XML attributes.Modifier and TypeMethodDescriptionAFrame.createSubFrame
(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
Modifier and TypeClassDescriptionclass
Specialized document (Frame) for representing the result of resolving a service name to host/port through VNS.static class
class
Specialized document (Frame) for representing result of querying VNS for the port on which a service should be provided.Modifier and TypeMethodDescriptionstatic 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.ResolveResult.createSubFrame
(String key, int capacity) Override the Frame createSubFrame method to create a ServiceLocator. -
Uses of Frame in org.apache.vinci.transport.vns.service