Uses of Interface
org.apache.vinci.transport.Transportable
-
-
Uses of Transportable in org.apache.uima.adapter.vinci
Classes in org.apache.uima.adapter.vinci that implement Transportable Modifier and Type Class Description class
CASTransportable
Methods in org.apache.uima.adapter.vinci that return Transportable Modifier and Type Method Description Transportable
VinciAnalysisEngineService_impl. eval(Transportable doc)
Main method called by the Vinci Service Layer.Transportable
VinciBinaryAnalysisEngineService_impl. eval(Transportable doc)
Main method called by the Vinci Service Layer.Transportable
VinciAnalysisEngineService_impl. makeTransportable()
Transportable
VinciBinaryAnalysisEngineService_impl. makeTransportable()
Methods in org.apache.uima.adapter.vinci with parameters of type Transportable Modifier and Type Method Description Transportable
VinciAnalysisEngineService_impl. eval(Transportable doc)
Main method called by the Vinci Service Layer.Transportable
VinciBinaryAnalysisEngineService_impl. eval(Transportable doc)
Main method called by the Vinci Service Layer. -
Uses of Transportable in org.apache.uima.collection.impl.cpm.container.deployer.vns
Methods in org.apache.uima.collection.impl.cpm.container.deployer.vns that return Transportable Modifier and Type Method Description Transportable
LocalVNS. eval(Transportable in)
Main method called by services advertising their availability.Methods in org.apache.uima.collection.impl.cpm.container.deployer.vns with parameters of type Transportable Modifier and Type Method Description Transportable
LocalVNS. eval(Transportable in)
Main method called by services advertising their availability. -
Uses of Transportable in org.apache.uima.collection.impl.cpm.vinci
Methods in org.apache.uima.collection.impl.cpm.vinci that return Transportable Modifier and Type Method Description Transportable
Vinci.AFFactory. makeTransportable()
-
Uses of Transportable in org.apache.vinci.transport
Classes in org.apache.vinci.transport that implement Transportable 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
Frame
Frame is an abstract class that is intended to be extended to implement a simple & lean (restricted) XML document model.class
QueryableFrame
QueryableFrame is a decorator class that extends Frame.class
SimpleTransportable
SimpleTransportable is an immutable Transportable object that simply writes a byte buffer for its toStream implementation.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 Transportable Modifier and Type Method Description static Transportable
VinciServer. createShutdownCommand(String shutdown_message)
Factory method for creating a shutdown message.Transportable
BaseServer. eval(Transportable in, KeyValuePair header)
This function is a callback for the (Base/Vinci)ServerRunnable.Transportable
VinciServable. eval(Transportable in)
The eval method accepts an input document and returns an output document that is the result of performing the service.abstract Transportable
VinciServableAdapter. eval(Transportable in)
Transportable
ServiceException. getCompleteDocument()
Transportable
BaseServerRunnable. handleHeader(KeyValuePair header)
Transportable
VinciServerRunnable. handleHeader(KeyValuePair header)
Handle shutdown requests, and PING commands.Transportable
BaseServer. makeTransportable()
This is another callback for the (Base/Vinci)ServerRunnable that creates the document to be populated by the service with the request response.Transportable
TransportableFactory. makeTransportable()
Creates a new (empty) document of the desired type.Transportable
VinciServableAdapter. makeTransportable()
Transportable
BaseClient. receive()
The other 1/2 of the split RPC.Transportable
BaseClient. sendAndReceive(Transportable in)
Takes a transportable object, sends it across the connection, then retrieves the response and returns it.Transportable
BaseClient. sendAndReceive(Transportable in, int timeout)
Takes a transportable object, sends it across the connection, then retrieves the response and returns it.static Transportable
BaseClient. sendAndReceive(Transportable in, String host_name, int p, TransportableFactory f)
Convenience method for "one-shot" or "single-query" connections.static Transportable
BaseClient. sendAndReceive(Transportable in, String host_name, int p, TransportableFactory f, int socket_timeout)
Convenience method for "one-shot" or "single-query" connections with socket timeout support.static Transportable
BaseClient. sendAndReceive(Transportable in, String host_name, int p, TransportableFactory f, int socket_timeout, int connect_timeout)
Convenience method for "one-shot" or "single-query" connections with socket timeout support & connect timeout support.Transportable
BaseClient. sendAndReceive(Transportable in, TransportableFactory f)
Same as sendAndReceive(Transportable) except the provided factory is used to create the return document in place of the default factory.Transportable
BaseClient. sendAndReceive(Transportable in, TransportableFactory f, int timeout)
Same as sendAndReceive(Transportable, timeout) except the provided factory is used to create the return document in place of the default factory.Transportable
PooledVinciClient. sendAndReceive(Transportable in)
Send a request to the service and receive the response.Transportable
PooledVinciClient. sendAndReceive(Transportable in, int socketTimeout)
Send a request to the service and receive the response, using the provided socketTimeout in place of the client-provided one.Transportable
PooledVinciClient. sendAndReceive(Transportable in, TransportableFactory f)
Send a request to the service and receive the response, using the provided transportable factory in place of the client-provided one.Transportable
PooledVinciClient. sendAndReceive(Transportable in, TransportableFactory f, int socketTimeout)
Send a request to the service and receive the response, using the provided transportable factory and socketTimeout in place of the client-provided ones.static Transportable
VinciClient. sendAndReceive(Transportable in, String service_name, TransportableFactory factory)
Convenience method for "one-shot"/single-query connections.static Transportable
VinciClient. sendAndReceive(Transportable in, String service_name, TransportableFactory factory, int socket_timeout)
Convenience method for "one-shot"/single-query connections.static Transportable
VinciClient. sendAndReceive(Transportable in, String service_name, TransportableFactory factory, int socket_timeout, int connect_timeout)
Convenience method for "one-shot"/single-query connections.protected Transportable
BaseClient. sendAndReceiveWork(Transportable in, TransportableFactory f)
protected Transportable
BaseClient. sendAndReceiveWork(Transportable in, TransportableFactory f, int timeout)
Methods in org.apache.vinci.transport with parameters of type Transportable Modifier and Type Method Description Transportable
BaseServer. eval(Transportable in, KeyValuePair header)
This function is a callback for the (Base/Vinci)ServerRunnable.Transportable
VinciServable. eval(Transportable in)
The eval method accepts an input document and returns an output document that is the result of performing the service.abstract Transportable
VinciServableAdapter. eval(Transportable in)
VinciFrame
BaseClient. rpc(Transportable query)
Same as sendAndReceive(Transportable) except for return type.VinciFrame
BaseClient. rpc(Transportable query, int timeout)
Same as sendAndReceive(Transportable, timeout) except for return type.static VinciFrame
BaseClient. rpc(Transportable in, String host_name, int p)
Convenience method for "one-shot" or "single-query" connections.static VinciFrame
BaseClient. rpc(Transportable in, String host_name, int p, int socket_timeout)
Convenience method for "one-shot" or "single-query" connections.static VinciFrame
BaseClient. rpc(Transportable in, String host_name, int p, int socket_timeout, int connect_timeout)
Convenience method for "one-shot" or "single-query" connections.static VinciFrame
VinciClient. rpc(Transportable in, String service_name)
Same as VinciClient.sendAndReceive(Transportable) except for return type.static VinciFrame
VinciClient. rpc(Transportable in, String service_name, int timeout)
Same as VinciClient.sendAndReceive(Transportable, service_name) except it also takes a timeout value.static VinciFrame
VinciClient. rpc(Transportable in, String service_name, int timeout, int connect_timeout)
Same as VinciClient.sendAndReceive(Transportable, service_name) except it also takes socket read and socket connect timeout values.void
BaseClient. send(Transportable in)
Support for 1/2 transaction RPC.Transportable
BaseClient. sendAndReceive(Transportable in)
Takes a transportable object, sends it across the connection, then retrieves the response and returns it.Transportable
BaseClient. sendAndReceive(Transportable in, int timeout)
Takes a transportable object, sends it across the connection, then retrieves the response and returns it.static Transportable
BaseClient. sendAndReceive(Transportable in, String host_name, int p, TransportableFactory f)
Convenience method for "one-shot" or "single-query" connections.static Transportable
BaseClient. sendAndReceive(Transportable in, String host_name, int p, TransportableFactory f, int socket_timeout)
Convenience method for "one-shot" or "single-query" connections with socket timeout support.static Transportable
BaseClient. sendAndReceive(Transportable in, String host_name, int p, TransportableFactory f, int socket_timeout, int connect_timeout)
Convenience method for "one-shot" or "single-query" connections with socket timeout support & connect timeout support.Transportable
BaseClient. sendAndReceive(Transportable in, TransportableFactory f)
Same as sendAndReceive(Transportable) except the provided factory is used to create the return document in place of the default factory.Transportable
BaseClient. sendAndReceive(Transportable in, TransportableFactory f, int timeout)
Same as sendAndReceive(Transportable, timeout) except the provided factory is used to create the return document in place of the default factory.Transportable
PooledVinciClient. sendAndReceive(Transportable in)
Send a request to the service and receive the response.Transportable
PooledVinciClient. sendAndReceive(Transportable in, int socketTimeout)
Send a request to the service and receive the response, using the provided socketTimeout in place of the client-provided one.Transportable
PooledVinciClient. sendAndReceive(Transportable in, TransportableFactory f)
Send a request to the service and receive the response, using the provided transportable factory in place of the client-provided one.Transportable
PooledVinciClient. sendAndReceive(Transportable in, TransportableFactory f, int socketTimeout)
Send a request to the service and receive the response, using the provided transportable factory and socketTimeout in place of the client-provided ones.static Transportable
VinciClient. sendAndReceive(Transportable in, String service_name, TransportableFactory factory)
Convenience method for "one-shot"/single-query connections.static Transportable
VinciClient. sendAndReceive(Transportable in, String service_name, TransportableFactory factory, int socket_timeout)
Convenience method for "one-shot"/single-query connections.static Transportable
VinciClient. sendAndReceive(Transportable in, String service_name, TransportableFactory factory, int socket_timeout, int connect_timeout)
Convenience method for "one-shot"/single-query connections.protected Transportable
BaseClient. sendAndReceiveWork(Transportable in, TransportableFactory f)
protected Transportable
BaseClient. sendAndReceiveWork(Transportable in, TransportableFactory f, int timeout)
static VinciFrame
VinciFrame. toVinciFrame(Transportable t)
Create a VinciFrame that is a (deep) copy of the given transportable.Constructors in org.apache.vinci.transport with parameters of type Transportable Constructor Description ServiceException(String error_message, Transportable result)
SimpleTransportable(Transportable convert_me)
Create a SimpleTransportable that is an immutable copy of the provided Transportable object. -
Uses of Transportable in org.apache.vinci.transport.context
Methods in org.apache.vinci.transport.context that return Transportable Modifier and Type Method Description Transportable
VinciContext. sendAndReceive(Transportable in, String service_name, TransportableFactory factory)
See documentation for VinciClient.sendAndReceive().Transportable
VinciContext. sendAndReceive(Transportable in, String service_name, TransportableFactory factory, int socket_timeout)
See documentation for VinciClient.sendAndReceive().Transportable
VinciContext. sendAndReceive(Transportable in, String service_name, TransportableFactory factory, int socket_timeout, int connect_timeout)
See documentation for VinciClient.sendAndReceive().Methods in org.apache.vinci.transport.context with parameters of type Transportable Modifier and Type Method Description VinciFrame
VinciContext. rpc(Transportable in, String service_name)
See documentation for VinciClient.rpc().VinciFrame
VinciContext. rpc(Transportable in, String service_name, int timeout)
See documentation for VinciClient.rpc().VinciFrame
VinciContext. rpc(Transportable in, String service_name, int socket_timeout, int connect_timeout)
See documentation for VinciClient.rpc().Transportable
VinciContext. sendAndReceive(Transportable in, String service_name, TransportableFactory factory)
See documentation for VinciClient.sendAndReceive().Transportable
VinciContext. sendAndReceive(Transportable in, String service_name, TransportableFactory factory, int socket_timeout)
See documentation for VinciClient.sendAndReceive().Transportable
VinciContext. sendAndReceive(Transportable in, String service_name, TransportableFactory factory, int socket_timeout, int connect_timeout)
See documentation for VinciClient.sendAndReceive(). -
Uses of Transportable in org.apache.vinci.transport.document
Classes in org.apache.vinci.transport.document that implement Transportable 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 Transportable Modifier and Type Method Description static Transportable
XMLToVinci. xmlToTransportable(Reader r, Transportable empty)
Populate the empty document with the XML yielded by the provided reader.Methods in org.apache.vinci.transport.document with parameters of type Transportable Modifier and Type Method Description static AFrame
AFrame. rpc(Transportable in, String service_name)
static AFrame
AFrame. rpc(Transportable in, String service_name, int socket_timeout)
static AFrame
AFrame. rpc(Transportable in, String service_name, int socket_timeout, int connect_timeout)
static AFrame
AFrame. toAFrame(Transportable t)
Create an AFrame that is a (deep) copy of the given transportable.static Transportable
XMLToVinci. xmlToTransportable(Reader r, Transportable empty)
Populate the empty document with the XML yielded by the provided reader. -
Uses of Transportable in org.apache.vinci.transport.util
Methods in org.apache.vinci.transport.util that return Transportable Modifier and Type Method Description static Transportable
TransportableConverter. convert(Transportable convert_me, TransportableFactory factory)
Convert a transportable to the type of transportable returned by a factory.Methods in org.apache.vinci.transport.util with parameters of type Transportable Modifier and Type Method Description static void
TransportableConverter. convert(Transportable convert_me, Transportable into_me)
Copy the contents of one transportable into the other transportable.static Transportable
TransportableConverter. convert(Transportable convert_me, TransportableFactory factory)
Convert a transportable to the type of transportable returned by a factory. -
Uses of Transportable in org.apache.vinci.transport.vns.client
Classes in org.apache.vinci.transport.vns.client that implement Transportable 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 Transportable Modifier and Type Method Description static Transportable
ServeonResult. composeQuery(String service_name, String host_name)
Create a document representing the VNS serveon query for the specified service running on the specified host.static Transportable
ServeonResult. composeQuery(String service_name, String host_name, int priority)
Create a document representing the VNS serveon query for the specified service running on/with the specified host/priority.static Transportable
ServeonResult. composeQuery(String service_name, String host_name, int priority, int instance)
Create a document representing the VNS serveon query for the specified service running on/with the specified host/priority/instance. -
Uses of Transportable in org.apache.vinci.transport.vns.service
Methods in org.apache.vinci.transport.vns.service that return Transportable Modifier and Type Method Description Transportable
VNS. eval(Transportable inp)
Methods in org.apache.vinci.transport.vns.service with parameters of type Transportable Modifier and Type Method Description Transportable
VNS. eval(Transportable inp)
-