- aadd(String, float) - Method in class org.apache.vinci.transport.document.AFrame
-
Decorator method for adding float-valued tags.
- aadd(String, float[]) - Method in class org.apache.vinci.transport.document.AFrame
-
Decorator method for adding float-array valued tags.
- aadd(String, double) - Method in class org.apache.vinci.transport.document.AFrame
-
Decorator method for adding double valued tags.
- aadd(String, double[]) - Method in class org.apache.vinci.transport.document.AFrame
-
Decorator method for adding double-array valued tags.
- aadd(String, int) - Method in class org.apache.vinci.transport.document.AFrame
-
Decorator method for adding int valued tags.
- aadd(String, int[]) - Method in class org.apache.vinci.transport.document.AFrame
-
Decorator method for adding int-array valued tags.
- aadd(String, long) - Method in class org.apache.vinci.transport.document.AFrame
-
Decorator method for adding long valued tags.
- aadd(String, long[]) - Method in class org.apache.vinci.transport.document.AFrame
-
Decorator method for adding long-array valued tags.
- aadd(String, String) - Method in class org.apache.vinci.transport.document.AFrame
-
Decorator method for adding String valued tags.
- aadd(String, byte[]) - Method in class org.apache.vinci.transport.document.AFrame
-
Decorator method for adding binary valued tags.
- aadd(String, boolean) - Method in class org.apache.vinci.transport.document.AFrame
-
Decorator method for adding boolean valued tags.
- aadd(String, AFrame) - Method in class org.apache.vinci.transport.document.AFrame
-
Decorator method for adding Frame-valued tags.
- aadd(String) - Method in class org.apache.vinci.transport.document.AFrame
-
Decorator method for adding a valueless tag.
- aaddTrueBinary(String, byte[]) - Method in class org.apache.vinci.transport.document.AFrame
-
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.
- absLevel(String) - Method in class org.apache.vinci.transport.vns.service.ServiceStack
-
- absLevel(int) - Method in class org.apache.vinci.transport.vns.service.ServiceStack
-
- actualLevel - Variable in class org.apache.vinci.transport.vns.service.Service
-
- add(String, FrameComponent) - Method in class org.apache.vinci.transport.Frame
-
Add a tagged value to this frame (value is either a Frame or FrameLeaf).
- add(String, FrameComponent) - Method in class org.apache.vinci.transport.VinciFrame
-
Implementation of the abstract Frame method.
- add(String, FrameComponent) - Method in class org.apache.vinci.transport.vns.client.ResolveResult
-
Implement the frame add() callback.
- add(String, FrameComponent) - Method in class org.apache.vinci.transport.vns.client.ResolveResult.ServiceLocator
-
Implement the Frame add() callback.
- add(String, FrameComponent) - Method in class org.apache.vinci.transport.vns.client.ServeonResult
-
Implement the Frame add() callback.
- add(Service) - Method in class org.apache.vinci.transport.vns.service.ServiceStack
-
- addAlias(String, String) - Method in class org.apache.vinci.transport.vns.service.NameClient
-
- addAlias(ServiceAlias) - Method in class org.apache.vinci.transport.vns.service.ServiceRegistry
-
- addBinding(Service) - Method in class org.apache.vinci.transport.vns.service.ServiceRegistry
-
- addEntry(Object) - Method in class org.apache.vinci.transport.vns.service.ServiceRegistry
-
- addService(Service) - Method in class org.apache.vinci.transport.vns.service.NameClient
-
- addService(Service) - Method in class org.apache.vinci.transport.vns.service.ServiceRegistry
-
- AFrame - Class in org.apache.vinci.transport.document
-
This class is a VinciFrame with extensions for support of XML attributes.
- AFrame() - Constructor for class org.apache.vinci.transport.document.AFrame
-
- AFrame(int) - Constructor for class org.apache.vinci.transport.document.AFrame
-
- AFrameLeaf - Class in org.apache.vinci.transport.document
-
This class extends FrameLeaf with ability to set attributes.
- AFrameLeaf(byte[], boolean) - Constructor for class org.apache.vinci.transport.document.AFrameLeaf
-
- AFrameLeaf(String) - Constructor for class org.apache.vinci.transport.document.AFrameLeaf
-
- AFrameLeaf(String[]) - Constructor for class org.apache.vinci.transport.document.AFrameLeaf
-
- AFrameLeaf(float) - Constructor for class org.apache.vinci.transport.document.AFrameLeaf
-
- AFrameLeaf(float[]) - Constructor for class org.apache.vinci.transport.document.AFrameLeaf
-
- AFrameLeaf(double) - Constructor for class org.apache.vinci.transport.document.AFrameLeaf
-
- AFrameLeaf(double[]) - Constructor for class org.apache.vinci.transport.document.AFrameLeaf
-
- AFrameLeaf(int) - Constructor for class org.apache.vinci.transport.document.AFrameLeaf
-
- AFrameLeaf(int[]) - Constructor for class org.apache.vinci.transport.document.AFrameLeaf
-
- AFrameLeaf(long) - Constructor for class org.apache.vinci.transport.document.AFrameLeaf
-
- AFrameLeaf(long[]) - Constructor for class org.apache.vinci.transport.document.AFrameLeaf
-
- AFrameLeaf(boolean) - Constructor for class org.apache.vinci.transport.document.AFrameLeaf
-
- aget(String) - Method in class org.apache.vinci.transport.document.AFrame
-
Get the attributes associated with a particular key.
- areStaleLookupsAllowed() - Method in class org.apache.vinci.transport.context.VinciContext
-
Returns whether clients can use stale resolve cache entries for service location in the event
VNS is unreachable.
- Assert(boolean) - Static method in class org.apache.vinci.debug.Debug
-
Check the provided assertion.
- Assert(boolean, String) - Static method in class org.apache.vinci.debug.Debug
-
Check the provided assertion.
- AssertionFailedException - Exception in org.apache.vinci.debug
-
The AssertionFailedException is thrown by Debug.java in response to failed assertion checks.
- AssertionFailedException(String) - Constructor for exception org.apache.vinci.debug.AssertionFailedException
-
Standard constructor.
- Attributes - Class in org.apache.vinci.transport
-
Class for representing a list of attributes for an XML element.
- Attributes() - Constructor for class org.apache.vinci.transport.Attributes
-
- Attributes(int) - Constructor for class org.apache.vinci.transport.Attributes
-
- attributesToBin(OutputStream, Attributes, byte[]) - Method in class org.apache.vinci.transport.XTalkTransporter
-
- cacheResolveResult(String, ResolveResult) - Method in class org.apache.vinci.transport.context.VinciContext
-
Provide a resolve result to cache.
- calculateBase64OutputSize(int, boolean) - Static method in class org.apache.vinci.transport.util.Base64Converter
-
Calculates the size of the resulting Base64 string returned by this class for a binary byte
array of the specified length.
- calculateBinaryOutputSize(byte[], int) - Static method in class org.apache.vinci.transport.util.Base64Converter
-
Calculate the number of bytes encoded by a given Base64 input.
- calculateUTFLength(char[], int, int) - Static method in class org.apache.vinci.transport.util.UTFConverter
-
Calculate the UTF-8 length of a character array.
- calculateUTFLength(String) - Static method in class org.apache.vinci.transport.util.UTFConverter
-
Calculate the UTF-8 length of a Java String.
- checkBinding(Service) - Method in class org.apache.vinci.transport.vns.service.ServiceRegistry
-
- checkConflict(String, int, int) - Method in class org.apache.vinci.transport.vns.service.ServiceRegistry
-
- cleanExit() - Method in class org.apache.vinci.transport.BaseServer
-
Cleanly shut down this server.
- cleanExit() - Method in interface org.apache.vinci.transport.VinciServable
-
Called when the service is being shutdown by the server/service container.
- cleanExit() - Method in class org.apache.vinci.transport.VinciServableAdapter
-
- cleanExit() - Method in class org.apache.vinci.transport.vns.service.VNS
-
- close() - Method in class org.apache.vinci.transport.BaseClient
-
Close the connection.
- close(boolean) - Method in class org.apache.vinci.transport.PooledVinciClient
-
Close this pooled client.
- COMMAND_KEY - Static variable in class org.apache.vinci.transport.TransportConstants
-
- composeQuery(String) - Static method in class org.apache.vinci.transport.vns.client.ResolveResult
-
Create a document representing the VNS resolve query for the specified service.
- composeQuery(String, int) - Static method in class org.apache.vinci.transport.vns.client.ResolveResult
-
Create a document representing the VNS resolve query for the highest priority service(s) whose
priority is strictly below the specified priority.
- composeQuery(String, String, int, int) - Static method in class org.apache.vinci.transport.vns.client.ServeonResult
-
Create a document representing the VNS serveon query for the specified service running on/with
the specified host/priority/instance.
- composeQuery(String, String, int) - Static method in class org.apache.vinci.transport.vns.client.ServeonResult
-
Create a document representing the VNS serveon query for the specified service running on/with
the specified host/priority.
- composeQuery(String, String) - Static method in class org.apache.vinci.transport.vns.client.ServeonResult
-
Create a document representing the VNS serveon query for the specified service running on the
specified host.
- configure(String, int) - Method in class org.apache.vinci.transport.vns.service.NameClient
-
- consumeCharacters(InputStream, byte[], char[], int) - Static method in class org.apache.vinci.transport.XTalkTransporter
-
Consume the string of bytesToRead utf-8 bytes.
- consumeChildren(InputStream, Frame, int, int, byte[], char[]) - Method in class org.apache.vinci.transport.XTalkTransporter
-
- consumeRootChildren(InputStream, Frame, byte[], char[]) - Method in class org.apache.vinci.transport.XTalkTransporter
-
- consumeRootElement(InputStream, Frame, byte[], char[]) - Method in class org.apache.vinci.transport.XTalkTransporter
-
- consumeString(InputStream) - Static method in class org.apache.vinci.transport.XTalkTransporter
-
Consume a string from the input stream.
- consumeString(InputStream, byte[], char[]) - Static method in class org.apache.vinci.transport.XTalkTransporter
-
- convert(Transportable, TransportableFactory) - Static method in class org.apache.vinci.transport.util.TransportableConverter
-
Convert a transportable to the type of transportable returned by a factory.
- convert(Transportable, Transportable) - Static method in class org.apache.vinci.transport.util.TransportableConverter
-
Copy the contents of one transportable into the other transportable.
- convertBase64StringToString(String) - Static method in class org.apache.vinci.transport.util.Base64Converter
-
- convertBase64ToBinary(byte[]) - Static method in class org.apache.vinci.transport.util.Base64Converter
-
- convertBase64ToBinary(byte[], int) - Static method in class org.apache.vinci.transport.util.Base64Converter
-
- convertBinaryToBase64(byte[]) - Static method in class org.apache.vinci.transport.util.Base64Converter
-
- convertBinaryToBase64(byte[], int, boolean) - Static method in class org.apache.vinci.transport.util.Base64Converter
-
- convertStringToBase64String(String) - Static method in class org.apache.vinci.transport.util.Base64Converter
-
- convertStringToHTMLString(String) - Static method in class org.apache.vinci.transport.util.XMLConverter
-
- convertStringToHTMLString(String, StringBuffer) - Static method in class org.apache.vinci.transport.util.XMLConverter
-
- convertStringToUTF(String) - Static method in class org.apache.vinci.transport.util.UTFConverter
-
Convert a Java String to UTF-8.
- convertStringToUTF(char[], int, int) - Static method in class org.apache.vinci.transport.util.UTFConverter
-
Convert a String from a character array to UTF-8.
- convertStringToUTF(char[], int, int, byte[]) - Static method in class org.apache.vinci.transport.util.UTFConverter
-
Convert the given char[] input into UTF-8 and place in the destination buffer.
- convertStringToUTF(String, byte[]) - Static method in class org.apache.vinci.transport.util.UTFConverter
-
Convert the given char[] input into UTF-8 and place in the destination buffer.
- convertStringToXMLString(String) - Static method in class org.apache.vinci.transport.util.XMLConverter
-
Convert to XML string format.
- convertStringToXMLString(String, StringBuffer) - Static method in class org.apache.vinci.transport.util.XMLConverter
-
- convertUTFToBool(byte[]) - Static method in class org.apache.vinci.transport.util.UTFConverter
-
Convert the UTF-8 contents of a byte array to a boolean.
- convertUTFToDouble(byte[]) - Static method in class org.apache.vinci.transport.util.UTFConverter
-
Convert the UTF-8 contents of a byte array to a double.
- convertUTFToFloat(byte[]) - Static method in class org.apache.vinci.transport.util.UTFConverter
-
Convert the UTF-8 contents of a byte array of UTF-8 bytes to a float.
- convertUTFToInt(byte[]) - Static method in class org.apache.vinci.transport.util.UTFConverter
-
Convert the UTF-8 contents of a byte array to an int.
- convertUTFToLong(byte[]) - Static method in class org.apache.vinci.transport.util.UTFConverter
-
Convert the UTF-8 contents of a byte array to a long.
- convertUTFToString(byte[]) - Static method in class org.apache.vinci.transport.util.UTFConverter
-
Convert the UTF-8 contents of a byte array to a Java String.
- convertUTFToString(byte[], int, int, char[]) - Static method in class org.apache.vinci.transport.util.UTFConverter
-
Convert the UTF-8 contents of a byte array to a Java String.
- createAttributes() - Method in class org.apache.vinci.transport.document.AFrame
-
- createAttributes() - Method in class org.apache.vinci.transport.document.AFrameLeaf
-
- createFrameLeaf(byte[]) - Method in class org.apache.vinci.transport.document.AFrame
-
Override the createFrameLeaf to create an AFrameLeaf so that leaf values can have attributes.
- createFrameLeaf(byte[]) - Method in class org.apache.vinci.transport.Frame
-
Factory method used by fromStream when it needs to create a frame leaf.
- createServerSocket(int) - Method in class org.apache.vinci.transport.BaseServer
-
Create the server socket used to listen for requests.
- createShutdownCommand(String) - Static method in class org.apache.vinci.transport.VinciServer
-
Factory method for creating a shutdown message.
- createSubFrame(String, int) - Method in class org.apache.vinci.transport.document.AFrame
-
Override the createSubFrame to create an AFrame of precise capacity.
- createSubFrame(String, int) - Method in class org.apache.vinci.transport.Frame
-
Factory method used by fromStream when it needs to create a sub-frame.
- createSubFrame(String, int) - Method in class org.apache.vinci.transport.VinciFrame
-
Override the createSubFrame to create a VinciFrame of precise capacity.
- createSubFrame(String, int) - Method in class org.apache.vinci.transport.vns.client.ResolveResult
-
Override the Frame createSubFrame method to create a ServiceLocator.
- factory - Static variable in class org.apache.vinci.transport.vns.client.ResolveResult
-
- factory - Static variable in class org.apache.vinci.transport.vns.client.ServeonResult
-
- fadd(String, Frame) - Method in class org.apache.vinci.transport.Attributes
-
This method throws an unchecked exception since you should never add non-leaf valued
attributes.
- fadd(String) - Method in class org.apache.vinci.transport.Attributes
-
This method throws an unchecked exception since valueless attributes are undefined.
- fadd(String, float) - Method in class org.apache.vinci.transport.Frame
-
Decorator method for adding float-valued tags.
- fadd(String, float[]) - Method in class org.apache.vinci.transport.Frame
-
Decorator method for adding float-array valued tags.
- fadd(String, double) - Method in class org.apache.vinci.transport.Frame
-
Decorator method for adding double valued tags.
- fadd(String, double[]) - Method in class org.apache.vinci.transport.Frame
-
Decorator method for adding double-array valued tags.
- fadd(String, int) - Method in class org.apache.vinci.transport.Frame
-
Decorator method for adding int valued tags.
- fadd(String, int[]) - Method in class org.apache.vinci.transport.Frame
-
Decorator method for adding int-array valued tags.
- fadd(String, long) - Method in class org.apache.vinci.transport.Frame
-
Decorator method for adding long valued tags.
- fadd(String, long[]) - Method in class org.apache.vinci.transport.Frame
-
Decorator method for adding long-array valued tags.
- fadd(String, String) - Method in class org.apache.vinci.transport.Frame
-
Decorator method for adding String valued tags.
- fadd(String, String[]) - Method in class org.apache.vinci.transport.Frame
-
Decorator method for adding String-array valued tags.
- fadd(String, byte[]) - Method in class org.apache.vinci.transport.Frame
-
Decorator method for adding binary valued tags.
- fadd(String, boolean) - Method in class org.apache.vinci.transport.Frame
-
Decorator method for adding boolean valued tags.
- fadd(String, Frame) - Method in class org.apache.vinci.transport.Frame
-
Decorator method for adding Frame-valued tags.
- fadd(String) - Method in class org.apache.vinci.transport.Frame
-
Decorator method for adding a valueless tag.
- faddTrueBinary(String, byte[]) - Method in class org.apache.vinci.transport.Frame
-
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.
- FALSE_VALUE - Static variable in class org.apache.vinci.transport.TransportConstants
-
- FALSE_VALUE - Static variable in class org.apache.vinci.transport.util.UTFConverter
-
- FatalException - Exception in org.apache.vinci.debug
-
The FatalException class is used to convert any checked exception into an unchecked exception to
terminate the current thread due to unrecoverable and unexpected error conditions.
- FatalException(String) - Constructor for exception org.apache.vinci.debug.FatalException
-
Create an unchecked exception.
- FatalException(Throwable) - Constructor for exception org.apache.vinci.debug.FatalException
-
Convert an exception into an unchecked exception, after appropriately reporting the unchecked
exception to the error stream.
- fdrop(String) - Method in class org.apache.vinci.transport.VinciFrame
-
Remove all elements whose tag name matches the provided key (if any) from the top level of this
frame.
- fdropFirst(String) - Method in class org.apache.vinci.transport.VinciFrame
-
Remove only the first element whose tag name matches the specified key (if any) from the top
level of this frame.
- fget(String) - Method in class org.apache.vinci.transport.QueryableFrame
-
This method must be implemented so that it returns ALL values paired with the specified key in
ArrayList format.
- fget(String) - Method in class org.apache.vinci.transport.VinciFrame
-
Implementation of the abstract fget method defined in QueryableFrame.
- fgetAFrame(String) - Method in class org.apache.vinci.transport.document.AFrame
-
Convenience method for fetching sub-frames when their type is known to be AFrame
- fgetBoolean(String) - Method in class org.apache.vinci.transport.QueryableFrame
-
Retrieve the value of the specified key as a boolean.
- fgetBytes(String) - Method in class org.apache.vinci.transport.QueryableFrame
-
Presuming the data identified by this key is Base64 data, returns the binary array result of
Base64 decoding that data.
- fgetDouble(String) - Method in class org.apache.vinci.transport.QueryableFrame
-
Retrieve the value of the specified key as a double.
- fgetDoubleArray(String) - Method in class org.apache.vinci.transport.QueryableFrame
-
Retrieve the value of the specified key as an array of doubles.
- fgetFirst(String) - Method in class org.apache.vinci.transport.QueryableFrame
-
This method must be implemented so that it returns only the FIRST value paired with the
specified key.
- fgetFirst(String) - Method in class org.apache.vinci.transport.VinciFrame
-
Implementation of the abstract fgetFirst method defined in QueryableFrame.
- fgetFloat(String) - Method in class org.apache.vinci.transport.QueryableFrame
-
Retrieve the value of the specified key as a float.
- fgetFloatArray(String) - Method in class org.apache.vinci.transport.QueryableFrame
-
Retrieve the value of the specified key as an array of floats.
- fgetFrame(String) - Method in class org.apache.vinci.transport.QueryableFrame
-
Retrieve the value of the specified key as a QueryableFrame.
- fgetInt(String) - Method in class org.apache.vinci.transport.QueryableFrame
-
Retrieve the value of the specified key as a int.
- fgetIntArray(String) - Method in class org.apache.vinci.transport.QueryableFrame
-
Retrieve the value of the specified key as an array of ints.
- fgetLong(String) - Method in class org.apache.vinci.transport.QueryableFrame
-
Retrieve the value of the specified key as a long.
- fgetLongArray(String) - Method in class org.apache.vinci.transport.QueryableFrame
-
Retrieve the value of the specified key as an array of longs.
- fgetString(String) - Method in class org.apache.vinci.transport.QueryableFrame
-
Retrieve the value of the specified key as a String.
- fgetStringArray(String) - Method in class org.apache.vinci.transport.QueryableFrame
-
Retrieve the value of the specified key as a String array.
- fgetTrueBinary(String) - Method in class org.apache.vinci.transport.QueryableFrame
-
This is a "non-XTalk-1.0" hack to allow retrieving any data that was transported as "true
binary" (non Base64 encoded), for example via Frame.faddTrueBinary(String, byte[]) instead of
Frame.fadd(String, byte[]).
- fgetVinciFrame(String) - Method in class org.apache.vinci.transport.VinciFrame
-
Convenience method for fetching sub-frames when their type is known to be VinciFrame
- find(String) - Method in class org.apache.vinci.transport.vns.service.ServiceTree
-
- findprefix(String) - Method in class org.apache.vinci.transport.vns.service.ServiceTree
-
- fkeys() - Method in class org.apache.vinci.transport.VinciFrame
-
Returns a ArrayList of all the keys at the top-level of this frame, removing any duplicates.
- flush() - Static method in class org.apache.vinci.debug.Debug
-
Make sure any messages are flushed to the stream.
- flushAll() - Method in class org.apache.vinci.transport.context.VinciContext
-
- flushFromCache(String) - Method in class org.apache.vinci.transport.context.VinciContext
-
Flush any cache entries pertaining to the specified service.
- Frame - Class in org.apache.vinci.transport
-
Frame is an abstract class that is intended to be extended to implement a simple & lean
(restricted) XML document model.
- Frame() - Constructor for class org.apache.vinci.transport.Frame
-
- FrameComponent - Class in org.apache.vinci.transport
-
Base class for components that can be included in Frame documents.
- FrameComponent() - Constructor for class org.apache.vinci.transport.FrameComponent
-
- FrameLeaf - Class in org.apache.vinci.transport
-
Class encapsulating leaf data from a Frame.
- FrameLeaf(byte[], boolean) - Constructor for class org.apache.vinci.transport.FrameLeaf
-
Create a frameleaf from existing UTF-8 (or true binary) data.
- FrameLeaf(String) - Constructor for class org.apache.vinci.transport.FrameLeaf
-
- FrameLeaf(String[]) - Constructor for class org.apache.vinci.transport.FrameLeaf
-
This method does NOT support null values in the array.
- FrameLeaf(float) - Constructor for class org.apache.vinci.transport.FrameLeaf
-
- FrameLeaf(float[]) - Constructor for class org.apache.vinci.transport.FrameLeaf
-
- FrameLeaf(double) - Constructor for class org.apache.vinci.transport.FrameLeaf
-
- FrameLeaf(double[]) - Constructor for class org.apache.vinci.transport.FrameLeaf
-
- FrameLeaf(int) - Constructor for class org.apache.vinci.transport.FrameLeaf
-
- FrameLeaf(int[]) - Constructor for class org.apache.vinci.transport.FrameLeaf
-
- FrameLeaf(long) - Constructor for class org.apache.vinci.transport.FrameLeaf
-
- FrameLeaf(long[]) - Constructor for class org.apache.vinci.transport.FrameLeaf
-
- FrameLeaf(boolean) - Constructor for class org.apache.vinci.transport.FrameLeaf
-
- FrameTransporter - Interface in org.apache.vinci.transport
-
Interface required by Frame to support marshalling.
- freset() - Method in class org.apache.vinci.transport.VinciFrame
-
Reset this frame to an empty state.
- fromStream(InputStream) - Method in class org.apache.vinci.transport.Frame
-
Populate this document using the given InputStream and the installed marshaller.
- fromStream(InputStream, Frame) - Method in interface org.apache.vinci.transport.FrameTransporter
-
Marshall the frame to the input stream.
- fromStream(InputStream) - Method in class org.apache.vinci.transport.SimpleTransportable
-
Not implemented (throws UnsupportedOperationException if invoked) to preserve immutability.
- fromStream(InputStream) - Method in interface org.apache.vinci.transport.Transportable
-
Read the object from the input stream.
- fromStream(InputStream, Frame) - Method in class org.apache.vinci.transport.XTalkTransporter
-
Parse the data-stream according to the XTalk protocol.
- fromStreamWork(InputStream, Frame) - Method in class org.apache.vinci.transport.XTalkTransporter
-
Once we know that this is an XTalk document, perform XTalk parsing.
- fromStreamWork(InputStream, Frame, byte[], char[]) - Method in class org.apache.vinci.transport.XTalkTransporter
-
- fset(String, Frame) - Method in class org.apache.vinci.transport.Attributes
-
This method throws an unchecked exception since you should never add non-leaf valued
attributes.
- fset(String, String) - Method in class org.apache.vinci.transport.VinciFrame
-
Change the value associated with first occurence of the given key to val.
- fset(String, long) - Method in class org.apache.vinci.transport.VinciFrame
-
Change the value associated with the first occurence of the given key to val.
- fset(String, boolean) - Method in class org.apache.vinci.transport.VinciFrame
-
Change the value associated with the first occurence of the given key to val.
- fset(String, int) - Method in class org.apache.vinci.transport.VinciFrame
-
Change the value associated with the first occurence of the given key to val.
- fset(String, int[]) - Method in class org.apache.vinci.transport.VinciFrame
-
Change the value associated with the first occurence of the given key to val.
- fset(String, Frame) - Method in class org.apache.vinci.transport.VinciFrame
-
Change the value associated with the first occurence of the given key to val.
- fset(String, double) - Method in class org.apache.vinci.transport.VinciFrame
-
Change the value associated with the first occurence of the given key to val.
- fset(String, byte[]) - Method in class org.apache.vinci.transport.VinciFrame
-
Change the value associated with the first occurence of the given key to val.
- fsetTrueBinary(String, byte[]) - Method in class org.apache.vinci.transport.VinciFrame
-
Change the value associated with the first occurence of the given key to val.
- get(String) - Method in class org.apache.vinci.transport.vns.service.ServiceStack
-
- get(int) - Method in class org.apache.vinci.transport.vns.service.ServiceStack
-
- getAbsLevel(String) - Static method in class org.apache.vinci.transport.vns.service.ServiceStack
-
- getAFrameFactory() - Static method in class org.apache.vinci.transport.document.AFrame
-
Get a TransportableFactory that creates new AFrames.
- getAllHits() - Method in class org.apache.vinci.transport.vns.service.NameClient
-
- getAttr(String) - Method in class org.apache.vinci.transport.vns.service.Service
-
- getAttr(String) - Method in class org.apache.vinci.transport.vns.service.ServiceAlias
-
- getAttr(String) - Method in interface org.apache.vinci.transport.vns.service.ServiceInterface
-
- getAttributes() - Method in class org.apache.vinci.transport.document.AFrame
-
- getAttributes() - Method in class org.apache.vinci.transport.document.AFrameLeaf
-
- getAttributes() - Method in class org.apache.vinci.transport.FrameComponent
-
Get the attributes associated with this FrameComponent.
- getCachedResolveResult(String) - Method in class org.apache.vinci.transport.context.VinciContext
-
Get a cached resolve result (if any).
- getCompleteDocument() - Method in exception org.apache.vinci.transport.ServiceException
-
- getContext() - Method in class org.apache.vinci.transport.VinciClient
-
Get the context associated with this client.
- getContext() - Method in class org.apache.vinci.transport.VinciServer
-
Get the context associated with this server.
- getData() - Method in class org.apache.vinci.transport.FrameLeaf
-
Get the raw (usually UTF-8) frame data.
- getDebuggingStream() - Static method in class org.apache.vinci.debug.Debug
-
Get the debugging stream.
- getFrameTransporter() - Static method in class org.apache.vinci.transport.Frame
-
Get the currently installed document marshaller.
- getGlobalContext() - Static method in class org.apache.vinci.transport.context.VinciContext
-
Get the global VinciContext used by Vinci classes when no context is explicitly specified.
- getHeader() - Method in class org.apache.vinci.transport.BaseClient
-
Fetch the header of the last Transportable received.
- getHits(String) - Method in class org.apache.vinci.transport.vns.service.NameClient
-
- getHits() - Method in class org.apache.vinci.transport.vns.service.NameClient
-
- getHost() - Method in class org.apache.vinci.transport.BaseClient
-
Get the hostname/ip address to which this client is connected.
- getHost() - Method in class org.apache.vinci.transport.vns.client.VNSConfig
-
Deprecated.
Use VinciContext.getVNSHost() instead.
- getHostName() - Method in class org.apache.vinci.transport.VinciServer
-
- getInstance() - Method in class org.apache.vinci.transport.VinciClient
-
Get the instance number of this service.
- getInstance() - Method in class org.apache.vinci.transport.VinciServer
-
- getKey() - Method in class org.apache.vinci.transport.KeyValuePair
-
- getKeyValuePair(int) - Method in class org.apache.vinci.transport.Frame
-
Return the specified KeyValue pair.
- getKeyValuePair(int) - Method in class org.apache.vinci.transport.VinciFrame
-
Implementation of the abstract Frame method.
- getKeyValuePairCount() - Method in class org.apache.vinci.transport.Frame
-
Return the number of key/value pairs within this frame.
- getKeyValuePairCount() - Method in class org.apache.vinci.transport.VinciFrame
-
Implementation of the abstract Frame method.
- getLevel() - Method in class org.apache.vinci.transport.VinciClient
-
Get the priority level of the service to which this client is connected.
- getList(String, String) - Method in class org.apache.vinci.transport.vns.service.NameClient
-
- getList(String, int) - Method in class org.apache.vinci.transport.vns.service.NameClient
-
- getList() - Method in class org.apache.vinci.transport.vns.service.NameClient
-
- getList(String) - Method in class org.apache.vinci.transport.vns.service.NameClient
-
- getList(int) - Method in class org.apache.vinci.transport.vns.service.NameClient
-
- getLogExceptions() - Static method in class org.apache.vinci.debug.Debug
-
Determine if exception logging is enabled.
- getLogMessages() - Static method in class org.apache.vinci.debug.Debug
-
Determine if message logging is enabled.
- getNames(String, String) - Method in class org.apache.vinci.transport.vns.service.NameClient
-
- getNames(String, int) - Method in class org.apache.vinci.transport.vns.service.NameClient
-
- getNames() - Method in class org.apache.vinci.transport.vns.service.NameClient
-
- getNames(String) - Method in class org.apache.vinci.transport.vns.service.NameClient
-
- getNames(int) - Method in class org.apache.vinci.transport.vns.service.NameClient
-
- getNext() - Method in class org.apache.vinci.transport.vns.client.ResolveResult
-
Fetch the next service listing.
- getOriginalException() - Method in exception org.apache.vinci.debug.FatalException
-
Return the original checked exception that was converted into an unchecked exception (if any)
- getParent() - Method in class org.apache.vinci.transport.BaseServerRunnable
-
- getPort() - Method in class org.apache.vinci.transport.BaseClient
-
- getPort() - Method in class org.apache.vinci.transport.VinciServer
-
- getPort() - Method in class org.apache.vinci.transport.vns.client.VNSConfig
-
Deprecated.
Use VinciContext.getVNSPort() instead.
- getPriority() - Method in class org.apache.vinci.transport.VinciServer
-
- getQualifiedServiceName() - Method in class org.apache.vinci.transport.VinciClient
-
Get the fully qualified name of this service.
- getResolveCacheTTL() - Method in class org.apache.vinci.transport.context.VinciContext
-
Get the time-to-live of cached service locators (resolve results).
- getRunnable(Socket) - Method in class org.apache.vinci.transport.BaseServer
-
Get a runnable object to run within a pooled thread that will handle the request.
- getRunnable(Socket) - Method in class org.apache.vinci.transport.VinciServer
-
- getServable() - Method in class org.apache.vinci.transport.BaseServer
-
Get the servable object being used by this server.
- getServerSocket() - Method in class org.apache.vinci.transport.BaseServer
-
Get the server socket that this server uses to listen for requests.
- getServiceName() - Method in class org.apache.vinci.transport.PooledVinciClient
-
Get the service name to which this client connects.
- getServiceName() - Method in class org.apache.vinci.transport.VinciClient
-
- getServiceName() - Method in class org.apache.vinci.transport.VinciServer
-
- getServices(String) - Method in class org.apache.vinci.transport.vns.service.ServiceRegistry
-
- getServices(String, String) - Method in class org.apache.vinci.transport.vns.service.ServiceRegistry
-
- getServices(String, int) - Method in class org.apache.vinci.transport.vns.service.ServiceRegistry
-
- getServices(String, int, boolean) - Method in class org.apache.vinci.transport.vns.service.ServiceRegistry
-
- getServices(String, String, boolean) - Method in class org.apache.vinci.transport.vns.service.ServiceRegistry
-
- getServingPort() - Method in class org.apache.vinci.transport.VinciServer
-
After invoking serve() or startServing(), this method can be used to determine the port which
was negotiated with VNS on which to serve requests.
- getSocket() - Method in class org.apache.vinci.transport.BaseClient
-
Get the socket used for the connection.
- getSocket() - Static method in class org.apache.vinci.transport.BaseServerRunnable
-
Allows anyone in the calling chain of the 'run' method to get access to the socket being used
in the Vinci connection via the ThreadLocal variable.
- getSocketTimeout() - Method in class org.apache.vinci.transport.BaseClient
-
Get the default timeout value for the socket (0 indicates never timeout, which is the default,
but generally NOT a good setting).
- getStaleCachedResolveResult(String) - Method in class org.apache.vinci.transport.context.VinciContext
-
Get a cached resolve result (if any), but allow returning stale cache entries.
- getValue() - Method in class org.apache.vinci.transport.KeyValuePair
-
- getValueAsFrame() - Method in class org.apache.vinci.transport.KeyValuePair
-
- getValueAsLeaf() - Method in class org.apache.vinci.transport.KeyValuePair
-
- getValueAsString() - Method in class org.apache.vinci.transport.KeyValuePair
-
- getVinciFrameFactory() - Static method in class org.apache.vinci.transport.VinciFrame
-
Get a TransportableFactory that creates new VinciFrames.
- getVNSHost() - Method in class org.apache.vinci.transport.context.VinciContext
-
Return the VNS hostname.
- getVNSPort() - Method in class org.apache.vinci.transport.context.VinciContext
-
Return the VNS listener port.
- getVNSResolveTimeout() - Method in class org.apache.vinci.transport.context.VinciContext
-
Get the timeout setting of VNS resolve queries.
- getVNSServeonTimeout() - Method in class org.apache.vinci.transport.context.VinciContext
-
Get the timeout setting of VNS serveon queries.
- save(Writer) - Method in class org.apache.vinci.transport.vns.service.ServiceRegistry
-
- save(Writer) - Method in class org.apache.vinci.transport.vns.service.WorkspaceConfig
-
- saveConfig(String) - Method in class org.apache.vinci.transport.vns.service.VNS
-
- saveCounters(String) - Method in class org.apache.vinci.transport.vns.service.VNS
-
- saveWorkspaces(String) - Method in class org.apache.vinci.transport.vns.service.VNS
-
- search - Variable in class org.apache.vinci.transport.vns.service.WorkspaceConfig
-
- send(Transportable) - Method in class org.apache.vinci.transport.BaseClient
-
Support for 1/2 transaction RPC.
- sendAndReceive(Transportable) - Method in class org.apache.vinci.transport.BaseClient
-
Takes a transportable object, sends it across the connection, then retrieves the response and
returns it.
- sendAndReceive(Transportable, int) - Method in class org.apache.vinci.transport.BaseClient
-
Takes a transportable object, sends it across the connection, then retrieves the response and
returns it.
- sendAndReceive(Transportable, TransportableFactory) - Method in class org.apache.vinci.transport.BaseClient
-
Same as sendAndReceive(Transportable) except the provided factory is used to create the return
document in place of the default factory.
- sendAndReceive(Transportable, TransportableFactory, int) - Method in class org.apache.vinci.transport.BaseClient
-
Same as sendAndReceive(Transportable, timeout) except the provided factory is used to create
the return document in place of the default factory.
- sendAndReceive(Transportable, String, int, TransportableFactory) - Static method in class org.apache.vinci.transport.BaseClient
-
Convenience method for "one-shot" or "single-query" connections.
- sendAndReceive(Transportable, String, int, TransportableFactory, int) - Static method in class org.apache.vinci.transport.BaseClient
-
Convenience method for "one-shot" or "single-query" connections with socket timeout support.
- sendAndReceive(Transportable, String, int, TransportableFactory, int, int) - Static method in class org.apache.vinci.transport.BaseClient
-
Convenience method for "one-shot" or "single-query" connections with socket timeout support &
connect timeout support.
- sendAndReceive(Transportable, String, TransportableFactory) - Method in class org.apache.vinci.transport.context.VinciContext
-
See documentation for VinciClient.sendAndReceive().
- sendAndReceive(Transportable, String, TransportableFactory, int) - Method in class org.apache.vinci.transport.context.VinciContext
-
See documentation for VinciClient.sendAndReceive().
- sendAndReceive(Transportable, String, TransportableFactory, int, int) - Method in class org.apache.vinci.transport.context.VinciContext
-
See documentation for VinciClient.sendAndReceive().
- sendAndReceive(Transportable) - Method in class org.apache.vinci.transport.PooledVinciClient
-
Send a request to the service and receive the response.
- sendAndReceive(Transportable, TransportableFactory) - Method in class org.apache.vinci.transport.PooledVinciClient
-
Send a request to the service and receive the response, using the provided transportable
factory in place of the client-provided one.
- sendAndReceive(Transportable, TransportableFactory, int) - Method in class org.apache.vinci.transport.PooledVinciClient
-
Send a request to the service and receive the response, using the provided transportable
factory and socketTimeout in place of the client-provided ones.
- sendAndReceive(Transportable, int) - Method in class org.apache.vinci.transport.PooledVinciClient
-
Send a request to the service and receive the response, using the provided socketTimeout in
place of the client-provided one.
- sendAndReceive(Transportable, String, TransportableFactory) - Static method in class org.apache.vinci.transport.VinciClient
-
Convenience method for "one-shot"/single-query connections.
- sendAndReceive(Transportable, String, TransportableFactory, int) - Static method in class org.apache.vinci.transport.VinciClient
-
Convenience method for "one-shot"/single-query connections.
- sendAndReceive(Transportable, String, TransportableFactory, int, int) - Static method in class org.apache.vinci.transport.VinciClient
-
Convenience method for "one-shot"/single-query connections.
- sendAndReceiveWork(Transportable, TransportableFactory) - Method in class org.apache.vinci.transport.BaseClient
-
- sendAndReceiveWork(Transportable, TransportableFactory, int) - Method in class org.apache.vinci.transport.BaseClient
-
- serve(int) - Method in class org.apache.vinci.transport.BaseServer
-
Serve requests, blocking until a clean shutdown is triggered.
- serve() - Method in class org.apache.vinci.transport.VinciServer
-
Serve requests until a clean shutdown is triggered.
- serveon(String, String, int, int) - Method in class org.apache.vinci.transport.vns.service.NameClient
-
- serveon(String) - Method in class org.apache.vinci.transport.vns.service.NameClient
-
- SERVEON_COMMAND - Static variable in class org.apache.vinci.transport.vns.VNSConstants
-
- ServeonResult - Class in org.apache.vinci.transport.vns.client
-
Specialized document (Frame) for representing result of querying VNS for the port on which a
service should be provided.
- ServeonResult() - Constructor for class org.apache.vinci.transport.vns.client.ServeonResult
-
- SERVER_KEY - Static variable in class org.apache.vinci.transport.vns.VNSConstants
-
- Service - Class in org.apache.vinci.transport.vns.service
-
- Service(Hashtable) - Constructor for class org.apache.vinci.transport.vns.service.Service
-
- SERVICE_KEY - Static variable in class org.apache.vinci.transport.vns.VNSConstants
-
- ServiceAlias - Class in org.apache.vinci.transport.vns.service
-
- ServiceAlias(String, String) - Constructor for class org.apache.vinci.transport.vns.service.ServiceAlias
-
- ServiceDownException - Exception in org.apache.vinci.transport
-
Special exception type thrown when a socket connection to VNS or the desired Vinci service could
not be established.
- ServiceDownException(String) - Constructor for exception org.apache.vinci.transport.ServiceDownException
-
Standard Constructor.
- ServiceException - Exception in org.apache.vinci.transport
-
Special exception thrown by VinciClient indicating an "application level" error or exception.
- ServiceException(String, Transportable) - Constructor for exception org.apache.vinci.transport.ServiceException
-
- ServiceException(String) - Constructor for exception org.apache.vinci.transport.ServiceException
-
- ServiceInfo - Class in org.apache.vinci.transport.vns.service
-
Class representing a service's attributes, used by VNSCommandLine
- ServiceInfo(String[]) - Constructor for class org.apache.vinci.transport.vns.service.ServiceInfo
-
- ServiceInfo(String, String, String, String, String) - Constructor for class org.apache.vinci.transport.vns.service.ServiceInfo
-
- ServiceInterface - Interface in org.apache.vinci.transport.vns.service
-
- ServiceRegistry - Class in org.apache.vinci.transport.vns.service
-
Primary interface into the services database.
- ServiceRegistry() - Constructor for class org.apache.vinci.transport.vns.service.ServiceRegistry
-
- ServiceStack - Class in org.apache.vinci.transport.vns.service
-
Services of the same name get put in the same stack and stored within the ServiceTree.
- ServiceStack(String) - Constructor for class org.apache.vinci.transport.vns.service.ServiceStack
-
- ServiceTree - Class in org.apache.vinci.transport.vns.service
-
Data structure for storing/indexing/querying the set of service entries.
- ServiceTree() - Constructor for class org.apache.vinci.transport.vns.service.ServiceTree
-
- ServiceTree(Object) - Constructor for class org.apache.vinci.transport.vns.service.ServiceTree
-
- set(String, FrameComponent) - Method in class org.apache.vinci.transport.VinciFrame
-
Change the value associated with the first occurence of the given key to val.
- setAllowStaleLookups(boolean) - Method in class org.apache.vinci.transport.context.VinciContext
-
Set whether clients can use stale resolve cache entries for service location in the event VNS
is unreachable.
- setAttributes(Attributes) - Method in class org.apache.vinci.transport.document.AFrame
-
- setAttributes(Attributes) - Method in class org.apache.vinci.transport.document.AFrameLeaf
-
- setAttributes(Attributes) - Method in class org.apache.vinci.transport.FrameComponent
-
Set the attributes (replacing any previous ones) assocated with this Frame component.
- setConnectTimeout(int) - Method in class org.apache.vinci.transport.BaseClient
-
Set the timeout value used for connect timeouts.
- setConnectTimeout(int) - Method in class org.apache.vinci.transport.PooledVinciClient
-
Set a connect timeout that will be used in place of BaseClient.DEFAULT_CONNECT_TIMEOUT
- setContext(VinciContext) - Method in class org.apache.vinci.transport.PooledVinciClient
-
Set a VinciContext that will be used by this PooledVinciClient instead of the default global
context.
- setContext(VinciContext) - Method in class org.apache.vinci.transport.VinciClient
-
Set the VinciContext to be used by this client.
- setContext(VinciContext) - Method in class org.apache.vinci.transport.VinciServer
-
Set the VinciContext to be used by this server.
- setDebuggingStream(PrintStream) - Static method in class org.apache.vinci.debug.Debug
-
Set the debugging stream.
- setFrameTransporter(FrameTransporter) - Static method in class org.apache.vinci.transport.Frame
-
This method lets you replace the default XTalk marshaller with another one, for example if you
want to use a different wire format (such as XML/SOAP), or if you want to easily exploit an
optimized/native implementation.
- setHost(String) - Method in class org.apache.vinci.transport.vns.client.VNSConfig
-
Deprecated.
Use VinciContext.setVNSHost() instead.
- setitem(String, Object) - Method in class org.apache.vinci.transport.vns.service.ServiceTree
-
- setLogExceptions(boolean) - Static method in class org.apache.vinci.debug.Debug
-
Turn on/off the logging of reported exceptions.
- setLogMessages(boolean) - Static method in class org.apache.vinci.debug.Debug
-
Set whether debugging messages will be logged to the debug stream.
- setPort(int) - Method in class org.apache.vinci.transport.vns.client.VNSConfig
-
Deprecated.
Use VinciContext.setVNSPort() instead.
- setResolveCacheTTL(int) - Method in class org.apache.vinci.transport.context.VinciContext
-
Set the time-to-live of cached service locators (resolve results).
- setRetry(boolean) - Method in class org.apache.vinci.transport.BaseClient
-
Set connection restablishment on IOException to on/off, default is ON.
- setSocketKeepAliveEnabled(boolean) - Method in class org.apache.vinci.transport.context.VinciContext
-
Set whether socket keepAlive is enabled.
- setSocketTimeout(int) - Method in class org.apache.vinci.transport.BaseClient
-
Set the timeout value used by the underlying socket.
- setSocketTimeout(int) - Method in class org.apache.vinci.transport.BaseServer
-
This method is used to override the default timeout value of one minute.
- setSocketTimeout(int) - Method in class org.apache.vinci.transport.PooledVinciClient
-
Set a socket timeout that will be used in place of BaseClient.DEFAULT_SOCKET_TIMEOUT
- setThreadNameOutput(boolean) - Static method in class org.apache.vinci.debug.Debug
-
Turn on/off the reporting of thread name in the debug log.
- setThreadPoolSize(int, int) - Method in class org.apache.vinci.transport.BaseServer
-
Set the intitial and maximum size of the threadpool used by this server.
- setTransportableFactory(TransportableFactory) - Method in class org.apache.vinci.transport.BaseClient
-
Set the transportable factory used by this client.
- setTransportableFactory(TransportableFactory) - Method in class org.apache.vinci.transport.PooledVinciClient
-
Set a transportable factory that will be used in place of the VinciFrame factory.
- setVNSCacheSize(int) - Method in class org.apache.vinci.transport.context.VinciContext
-
Set the size of the VNS cache.
- setVNSHost(String) - Method in class org.apache.vinci.transport.context.VinciContext
-
Set the VNS hostname.
- setVNSPort(int) - Method in class org.apache.vinci.transport.context.VinciContext
-
Set the VNS port.
- setVNSResolveTimeout(int) - Method in class org.apache.vinci.transport.context.VinciContext
-
Set the timeout of VNS resolve queries.
- setVNSServeonTimeout(int) - Method in class org.apache.vinci.transport.context.VinciContext
-
Set the timeout of VNS serveon queries.
- shutdown(String) - Method in class org.apache.vinci.transport.VinciServer
-
This method is called by the server when a remote shutdown request is received.
- SHUTDOWN_KEY - Static variable in class org.apache.vinci.transport.TransportConstants
-
- shutdownServing() - Method in class org.apache.vinci.transport.BaseServer
-
Cause the serve() method to terminate.
- simpleConvertStringToXMLString(String) - Static method in class org.apache.vinci.transport.util.XMLConverter
-
Convert to XML string format without ever using CDATA encoding.
- simpleConvertStringToXMLString(String, StringBuffer) - Static method in class org.apache.vinci.transport.util.XMLConverter
-
- SimpleTransportable - Class in org.apache.vinci.transport
-
SimpleTransportable is an immutable Transportable object that simply writes a byte buffer for its
toStream implementation.
- SimpleTransportable(Transportable) - Constructor for class org.apache.vinci.transport.SimpleTransportable
-
Create a SimpleTransportable that is an immutable copy of the provided Transportable object.
- smFrameAdd(VinciFrame, String, String) - Static method in class org.apache.vinci.transport.vns.service.NameClient
-
- startServing(int) - Method in class org.apache.vinci.transport.BaseServer
-
Asynchronously start serving requests.
- startServing() - Method in class org.apache.vinci.transport.VinciServer
-
Start a new thread that will serve requests until a clean shutdown is triggered.
- startServing() - Static method in class org.apache.vinci.transport.vns.service.VNS
-
- STATUS_KEY - Static variable in class org.apache.vinci.transport.TransportConstants
-
- StreamMaterializer - Class in org.apache.vinci.transport.util
-
Simple static adapter method for converting stream into byte[]
- STRING_MARKER - Static variable in class org.apache.vinci.transport.XTalkTransporter
-
- stringToBin(String, OutputStream) - Static method in class org.apache.vinci.transport.XTalkTransporter
-
Sends a string over, without the type byte.
- stringToBin(String, OutputStream, byte[]) - Static method in class org.apache.vinci.transport.XTalkTransporter
-
Sends a string as utf8, using the temporary buffer if it is big enough to avoid allocating new
memory.
- stringToBin(char[], int, int, OutputStream) - Static method in class org.apache.vinci.transport.XTalkTransporter
-
- stringToBin(char[], int, int, OutputStream, byte[]) - Static method in class org.apache.vinci.transport.XTalkTransporter
-
- strip(String) - Static method in class org.apache.vinci.transport.vns.service.VNS
-
- stripWhitespace() - Method in class org.apache.vinci.transport.VinciFrame
-
Recursively strip any raw PCDATA fields that are entirely whitespace.
- target - Variable in class org.apache.vinci.transport.vns.service.ServiceAlias
-
- toAFrame(Transportable) - Static method in class org.apache.vinci.transport.document.AFrame
-
Create an AFrame that is a (deep) copy of the given transportable.
- toBoolean() - Method in class org.apache.vinci.transport.FrameLeaf
-
Converts the UTF-8 data to a Java boolean.
- toBytes() - Method in class org.apache.vinci.transport.FrameLeaf
-
Converts the B64 encoded data to binary and returns it.
- toDouble() - Method in class org.apache.vinci.transport.FrameLeaf
-
Converts the UTF-8 data to a Java double type.
- toDoubleArray() - Method in class org.apache.vinci.transport.FrameLeaf
-
Converts the UTF-8 data to a Java array of double.
- toFloat() - Method in class org.apache.vinci.transport.FrameLeaf
-
Converts the UTF-8 data to a Java float type.
- toFloatArray() - Method in class org.apache.vinci.transport.FrameLeaf
-
Converts the UTF-8 data to a Java array of float.
- toFrame() - Method in class org.apache.vinci.transport.vns.service.Service
-
- toFrame() - Method in class org.apache.vinci.transport.vns.service.ServiceAlias
-
- toInt() - Method in class org.apache.vinci.transport.FrameLeaf
-
Converts the UTF-8 data to a Java int type.
- toIntArray() - Method in class org.apache.vinci.transport.FrameLeaf
-
Converts the UTF-8 data to a Java array of ints.
- toLong() - Method in class org.apache.vinci.transport.FrameLeaf
-
Converts the UTF-8 data to a Java long type.
- toLongArray() - Method in class org.apache.vinci.transport.FrameLeaf
-
Converts the UTF-8 data to a Java array of longs.
- toRawXML() - Method in class org.apache.vinci.transport.Frame
-
Convert the document to XML without any pretting printing.
- toRawXML(StringBuffer) - Method in class org.apache.vinci.transport.Frame
-
Convert the document to XML without any pretting printing.
- toRawXMLWork(StringBuffer) - Method in class org.apache.vinci.transport.Frame
-
- toService(Hashtable) - Method in class org.apache.vinci.transport.vns.service.ServiceAlias
-
- toStream(OutputStream) - Method in class org.apache.vinci.transport.Frame
-
Write this document to the given output stream using the installed marshaller.
- toStream(OutputStream, Frame) - Method in interface org.apache.vinci.transport.FrameTransporter
-
Populate the (empty) frame from the stream contents.
- toStream(OutputStream) - Method in class org.apache.vinci.transport.SimpleTransportable
-
- toStream(OutputStream) - Method in interface org.apache.vinci.transport.Transportable
-
Write the object to the output stream.
- toStream(OutputStream, Frame) - Method in class org.apache.vinci.transport.XTalkTransporter
-
- toString() - Method in class org.apache.vinci.transport.Frame
-
Represent the document as a string (equivlent to toXML()).
- toString() - Method in class org.apache.vinci.transport.FrameLeaf
-
- toString() - Method in class org.apache.vinci.transport.vns.service.Service
-
- toString() - Method in class org.apache.vinci.transport.vns.service.ServiceInfo
-
- toStringArray() - Method in class org.apache.vinci.transport.FrameLeaf
-
- toVinciFrame(Transportable) - Static method in class org.apache.vinci.transport.VinciFrame
-
Create a VinciFrame that is a (deep) copy of the given transportable.
- toXML() - Method in class org.apache.vinci.transport.Frame
-
Convert the document to XML.
- toXML(StringBuffer) - Method in class org.apache.vinci.transport.Frame
-
Append the document, in XML format, to the provided StringBuffer.
- toXML(StringBuffer, int) - Method in class org.apache.vinci.transport.Frame
-
Helper method for toXML(StringBuffer).
- toXML() - Method in class org.apache.vinci.transport.vns.service.Service
-
- toXML() - Method in class org.apache.vinci.transport.vns.service.ServiceAlias
-
- toXML(int) - Method in class org.apache.vinci.transport.vns.service.ServiceAlias
-
- Transportable - Interface in org.apache.vinci.transport
-
Interface implemented by documents that can be transported (marshalled).
- TransportableConverter - Class in org.apache.vinci.transport.util
-
Provides utility method for converting between differing transportable types.
- TransportableFactory - Interface in org.apache.vinci.transport
-
Interface for implementing factories which instantiate Transportable objects, as required by
VinciServer & VinciClient classes.
- TransportConstants - Class in org.apache.vinci.transport
-
This class contains all frame related constants used by the Vinci transport layer.
- TRUE_VALUE - Static variable in class org.apache.vinci.transport.TransportConstants
-
- TRUE_VALUE - Static variable in class org.apache.vinci.transport.util.UTFConverter
-
- VERSION_CODE - Static variable in class org.apache.vinci.transport.XTalkTransporter
-
- VINCI_NAMESPACE - Static variable in class org.apache.vinci.transport.TransportConstants
-
- VINCI_NAMESPACE_URI - Static variable in class org.apache.vinci.transport.TransportConstants
-
- VinciClient - Class in org.apache.vinci.transport
-
Class for conjuring a Vinci service.
- VinciClient(String) - Constructor for class org.apache.vinci.transport.VinciClient
-
Construct a new client connected to the requested service, and uses a VinciFrame factory to
create the return document type.
- VinciClient(String, TransportableFactory) - Constructor for class org.apache.vinci.transport.VinciClient
-
Constructs a new client connected to the requested service.
- VinciClient(String, TransportableFactory, VinciContext) - Constructor for class org.apache.vinci.transport.VinciClient
-
- VinciClient(String, VinciContext) - Constructor for class org.apache.vinci.transport.VinciClient
-
- VinciClient(String, int) - Constructor for class org.apache.vinci.transport.VinciClient
-
Construct a new client connected to the requested service, and uses a VinciFrame factory to
create the return document type.
- VinciClient(String, TransportableFactory, int) - Constructor for class org.apache.vinci.transport.VinciClient
-
Constructs a new client connected to the requested service.
- VinciClient(String, TransportableFactory, VinciContext, int) - Constructor for class org.apache.vinci.transport.VinciClient
-
Constructs a new client connected to the requested service.
- VinciClient(String, VinciContext, int) - Constructor for class org.apache.vinci.transport.VinciClient
-
Constructs a new client connected to the requested service.
- VinciClient() - Constructor for class org.apache.vinci.transport.VinciClient
-
Construct a new client WITHOUT opening a connection, using the VinciFrame factory to create
return documents.
- VinciClient(TransportableFactory) - Constructor for class org.apache.vinci.transport.VinciClient
-
Construct a new client WITHOUT opening a connection, using the specified factory to create
return documents.
- VinciContext - Class in org.apache.vinci.transport.context
-
This class can be used to globally affect various behaviors of Vinci clients and servers under
its control (for example, which VNS to contact).
- VinciContext(String, int) - Constructor for class org.apache.vinci.transport.context.VinciContext
-
- VinciFrame - Class in org.apache.vinci.transport
-
This is the "default" document class for use with the Vinci client and servable classes.
- VinciFrame() - Constructor for class org.apache.vinci.transport.VinciFrame
-
Create a new empty VinciFrame.
- VinciFrame(int) - Constructor for class org.apache.vinci.transport.VinciFrame
-
Create a new empty VinciFrame with the specified initial capacity.
- VinciServable - Interface in org.apache.vinci.transport
-
Interface for implementing Vinci Services.
- VinciServableAdapter - Class in org.apache.vinci.transport
-
Adapter class for VinciServable, which provides a do-nothing cleanExit() method and a
TransportableFactory that returns a VinciFrame.
- VinciServableAdapter() - Constructor for class org.apache.vinci.transport.VinciServableAdapter
-
- VinciServer - Class in org.apache.vinci.transport
-
"Standard" service container for a VinciServable.
- VinciServer(String, String, VinciServable) - Constructor for class org.apache.vinci.transport.VinciServer
-
Create a new server.
- VinciServer(String, VinciServable) - Constructor for class org.apache.vinci.transport.VinciServer
-
Create a new server that reports the current machine's IP address as the host.
- VinciServer(String, String, VinciServable, int, int) - Constructor for class org.apache.vinci.transport.VinciServer
-
Create a new server.
- VinciServer(String, String, VinciServable, int) - Constructor for class org.apache.vinci.transport.VinciServer
-
- VinciServer(String, VinciServable, int) - Constructor for class org.apache.vinci.transport.VinciServer
-
- VinciServer(String, VinciServable, int, int) - Constructor for class org.apache.vinci.transport.VinciServer
-
- VinciServer(VinciServable) - Constructor for class org.apache.vinci.transport.VinciServer
-
servable != null
- VinciServerRunnable - Class in org.apache.vinci.transport
-
Runnable class used by VinciServer to concurrently service requests.
- VinciServerRunnable(Socket, VinciServer) - Constructor for class org.apache.vinci.transport.VinciServerRunnable
-
- VNS - Class in org.apache.vinci.transport.vns.service
-
VNS (Vinci Naming Service) provides the "directory" of all available Vinci services.
- VNS() - Constructor for class org.apache.vinci.transport.vns.service.VNS
-
- VNS(int) - Constructor for class org.apache.vinci.transport.vns.service.VNS
-
- VNS(int, String) - Constructor for class org.apache.vinci.transport.vns.service.VNS
-
- VNSConfig - Class in org.apache.vinci.transport.vns.client
-
Deprecated class whose functions are now entirely provided by VinciContext.
- VNSConfig() - Constructor for class org.apache.vinci.transport.vns.client.VNSConfig
-
- VNSConstants - Class in org.apache.vinci.transport.vns
-
Constants used in documents communicated to and from VNS ("Vinci Naming Service").
- VNSConstants() - Constructor for class org.apache.vinci.transport.vns.VNSConstants
-
- VNSException - Exception in org.apache.vinci.transport
-
Special exception type thrown by VinciClient/VinciServer when VNS itself reports an error.
- VNSException(String) - Constructor for exception org.apache.vinci.transport.VNSException
-