Uses of Class
org.apache.vinci.transport.Frame
Packages that use Frame
Package
Description
-
Uses of Frame in org.apache.vinci.transport
Subclasses of Frame in org.apache.vinci.transportModifier and TypeClassDescriptionclassClass for representing a list of attributes for an XML element.classThis is a special VinciFrame that simplifies returning error or exceptional conditions.classQueryableFrame is a decorator class that extends Frame.classThis is the "default" document class for use with the Vinci client and servable classes.Methods in org.apache.vinci.transport that return FrameModifier 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()Methods in org.apache.vinci.transport with parameters of type FrameModifier and TypeMethodDescriptionvoidXTalkTransporter.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) voidXTalkTransporter.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.voidFrameTransporter.toStream(OutputStream os, Frame f) Populate the (empty) frame from the stream contents.voidXTalkTransporter.toStream(OutputStream os, Frame f) -
Uses of Frame in org.apache.vinci.transport.document
Subclasses of Frame in org.apache.vinci.transport.documentModifier and TypeClassDescriptionclassThis class is a VinciFrame with extensions for support of XML attributes.Methods in org.apache.vinci.transport.document that return FrameModifier 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
Subclasses of Frame in org.apache.vinci.transport.vns.clientModifier and TypeClassDescriptionclassSpecialized document (Frame) for representing the result of resolving a service name to host/port through VNS.static classclassSpecialized 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 FrameModifier and TypeMethodDescriptionstatic FrameResolveResult.composeQuery(String service_name) Create a document representing the VNS resolve query for the specified service.static FrameResolveResult.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
Methods in org.apache.vinci.transport.vns.service that return Frame