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 classAttributesClass for representing a list of attributes for an XML element.classErrorFrameThis is a special VinciFrame that simplifies returning error or exceptional conditions.classQueryableFrameQueryableFrame is a decorator class that extends Frame.classVinciFrameThis 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 FrameFrame. createSubFrame(java.lang.String tag_name, int initialCapacity)Factory method used by fromStream when it needs to create a sub-frame.FrameVinciFrame. createSubFrame(java.lang.String tag_name, int initialCapacity)Override the createSubFrame to create a VinciFrame of precise capacity.FrameAttributes. fadd(java.lang.String key)This method throws an unchecked exception since valueless attributes are undefined.FrameAttributes. fadd(java.lang.String key, Frame val)This method throws an unchecked exception since you should never add non-leaf valued attributes.FrameFrame. fadd(java.lang.String key)Decorator method for adding a valueless tag.FrameFrame. fadd(java.lang.String key, boolean val)Decorator method for adding boolean valued tags.FrameFrame. fadd(java.lang.String key, byte[] val)Decorator method for adding binary valued tags.FrameFrame. fadd(java.lang.String key, double val)Decorator method for adding double valued tags.FrameFrame. fadd(java.lang.String key, double[] val)Decorator method for adding double-array valued tags.FrameFrame. fadd(java.lang.String key, float val)Decorator method for adding float-valued tags.FrameFrame. fadd(java.lang.String key, float[] val)Decorator method for adding float-array valued tags.FrameFrame. fadd(java.lang.String key, int val)Decorator method for adding int valued tags.FrameFrame. fadd(java.lang.String key, int[] val)Decorator method for adding int-array valued tags.FrameFrame. fadd(java.lang.String key, long val)Decorator method for adding long valued tags.FrameFrame. fadd(java.lang.String key, long[] val)Decorator method for adding long-array valued tags.FrameFrame. fadd(java.lang.String key, java.lang.String val)Decorator method for adding String valued tags.FrameFrame. fadd(java.lang.String key, java.lang.String[] val)Decorator method for adding String-array valued tags.FrameFrame. fadd(java.lang.String key, Frame val)Decorator method for adding Frame-valued tags.FrameFrame. 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.FrameKeyValuePair. getValueAsFrame()Methods in org.apache.vinci.transport with parameters of type Frame Modifier and Type Method Description voidXTalkTransporter. consumeChildren(java.io.InputStream is, Frame f, int field_count, int marker, byte[] buffer, char[] cbuffer)KeyValuePairXTalkTransporter. consumeRootChildren(java.io.InputStream is, Frame f, byte[] buffer, char[] cbuffer)KeyValuePairXTalkTransporter. consumeRootElement(java.io.InputStream is, Frame f, byte[] buffer, char[] cbuffer)voidXTalkTransporter. elementToBin(java.io.OutputStream os, Frame f, byte[] workbuf)FrameAttributes. fadd(java.lang.String key, Frame val)This method throws an unchecked exception since you should never add non-leaf valued attributes.FrameFrame. fadd(java.lang.String key, Frame val)Decorator method for adding Frame-valued tags.KeyValuePairFrameTransporter. fromStream(java.io.InputStream is, Frame f)Marshal the frame to the input stream.KeyValuePairXTalkTransporter. fromStream(java.io.InputStream is, Frame f)Parse the data-stream according to the XTalk protocol.KeyValuePairXTalkTransporter. fromStreamWork(java.io.InputStream is, Frame f)Once we know that this is an XTalk document, perform XTalk parsing.KeyValuePairXTalkTransporter. fromStreamWork(java.io.InputStream is, Frame f, byte[] buffer, char[] cbuffer)VinciFrameAttributes. fset(java.lang.String key, Frame val)This method throws an unchecked exception since you should never add non-leaf valued attributes.VinciFrameVinciFrame. fset(java.lang.String key, Frame val)Change the value associated with the first occurence of the given key to val.voidFrameTransporter. toStream(java.io.OutputStream os, Frame f)Populate the (empty) frame from the stream contents.voidXTalkTransporter. 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 classAFrameThis 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 FrameAFrame. 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 classResolveResultSpecialized document (Frame) for representing the result of resolving a service name to host/port through VNS.static classResolveResult.ServiceLocatorclassServeonResultSpecialized 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 FrameResolveResult. composeQuery(java.lang.String service_name)Create a document representing the VNS resolve query for the specified service.static FrameResolveResult. 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.FrameResolveResult. 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 FrameService. toFrame()FrameServiceAlias. toFrame()
-