Uses of Interface
org.apache.vinci.transport.Transportable
Package
Description
-
Uses of Transportable in org.apache.uima.adapter.vinci
Modifier and TypeMethodDescriptionVinciAnalysisEngineService_impl.eval
(Transportable doc) Main method called by the Vinci Service Layer.VinciBinaryAnalysisEngineService_impl.eval
(Transportable doc) Main method called by the Vinci Service Layer.VinciAnalysisEngineService_impl.makeTransportable()
Make transportable.VinciBinaryAnalysisEngineService_impl.makeTransportable()
Make transportable.Modifier and TypeMethodDescriptionVinciAnalysisEngineService_impl.eval
(Transportable doc) Main method called by the Vinci Service Layer.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
Modifier and TypeMethodDescriptionLocalVNS.eval
(Transportable in) Main method called by services advertising their availability.Modifier and TypeMethodDescriptionLocalVNS.eval
(Transportable in) Main method called by services advertising their availability. -
Uses of Transportable in org.apache.uima.collection.impl.cpm.vinci
-
Uses of Transportable 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
Frame is an abstract class that is intended to be extended to implement a simple & lean (restricted) XML document model.class
QueryableFrame is a decorator class that extends Frame.final class
SimpleTransportable is an immutable Transportable object that simply writes a byte buffer for its toStream implementation.class
This is the "default" document class for use with the Vinci client and servable classes.Modifier and TypeMethodDescriptionstatic Transportable
VinciServer.createShutdownCommand
(String shutdown_message) Factory method for creating a shutdown message.BaseServer.eval
(Transportable in, KeyValuePair header) This function is a callback for the (Base/Vinci)ServerRunnable.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) ServiceException.getCompleteDocument()
BaseServerRunnable.handleHeader
(KeyValuePair header) VinciServerRunnable.handleHeader
(KeyValuePair header) Handle shutdown requests, and PING commands.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.TransportableFactory.makeTransportable()
Creates a new (empty) document of the desired type.VinciServableAdapter.makeTransportable()
BaseClient.receive()
The other 1/2 of the split RPC.BaseClient.sendAndReceive
(Transportable in) Takes a transportable object, sends it across the connection, then retrieves the response and returns it.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.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.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.PooledVinciClient.sendAndReceive
(Transportable in) Send a request to the service and receive the response.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.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.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) Modifier and TypeMethodDescriptionBaseServer.eval
(Transportable in, KeyValuePair header) This function is a callback for the (Base/Vinci)ServerRunnable.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) BaseClient.rpc
(Transportable query) Same as sendAndReceive(Transportable) except for return type.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.BaseClient.sendAndReceive
(Transportable in) Takes a transportable object, sends it across the connection, then retrieves the response and returns it.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.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.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.PooledVinciClient.sendAndReceive
(Transportable in) Send a request to the service and receive the response.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.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.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.ModifierConstructorDescriptionServiceException
(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
Modifier and TypeMethodDescriptionVinciContext.sendAndReceive
(Transportable in, String service_name, TransportableFactory factory) See documentation for VinciClient.sendAndReceive().VinciContext.sendAndReceive
(Transportable in, String service_name, TransportableFactory factory, int socket_timeout) See documentation for VinciClient.sendAndReceive().VinciContext.sendAndReceive
(Transportable in, String service_name, TransportableFactory factory, int socket_timeout, int connect_timeout) See documentation for VinciClient.sendAndReceive().Modifier and TypeMethodDescriptionVinciContext.rpc
(Transportable in, String service_name) See documentation for VinciClient.rpc().VinciContext.rpc
(Transportable in, String service_name, int timeout) See documentation for VinciClient.rpc().VinciContext.rpc
(Transportable in, String service_name, int socket_timeout, int connect_timeout) See documentation for VinciClient.rpc().VinciContext.sendAndReceive
(Transportable in, String service_name, TransportableFactory factory) See documentation for VinciClient.sendAndReceive().VinciContext.sendAndReceive
(Transportable in, String service_name, TransportableFactory factory, int socket_timeout) See documentation for VinciClient.sendAndReceive().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
Modifier and TypeClassDescriptionclass
This class is a VinciFrame with extensions for support of XML attributes.Modifier and TypeMethodDescriptionstatic Transportable
XMLToVinci.xmlToTransportable
(Reader r, Transportable empty) Populate the empty document with the XML yielded by the provided reader.Modifier and TypeMethodDescriptionstatic 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
Modifier and TypeMethodDescriptionstatic Transportable
TransportableConverter.convert
(Transportable convert_me, TransportableFactory factory) Convert a transportable to the type of transportable returned by a factory.Modifier and TypeMethodDescriptionstatic 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
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 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