Uses of Interface
org.apache.vinci.transport.TransportableFactory
Package
Description
-
Uses of TransportableFactory in org.apache.uima.adapter.vinci
Modifier and TypeClassDescriptionclass
Main class for a Vinci Analysis Engine service.class
Main class for a Vinci Analysis Engine service that uses the binary CAS serialization, rather than XCAS. -
Uses of TransportableFactory in org.apache.uima.collection.impl.cpm.container.deployer.vns
-
Uses of TransportableFactory in org.apache.uima.collection.impl.cpm.vinci
-
Uses of TransportableFactory in org.apache.vinci.transport
Modifier and TypeInterfaceDescriptioninterface
Interface for implementing Vinci Services.Modifier and TypeClassDescriptionclass
Adapter class for VinciServable, which provides a do-nothing cleanExit() method and a TransportableFactory that returns a VinciFrame.Modifier and TypeMethodDescriptionstatic TransportableFactory
VinciFrame.getVinciFrameFactory()
Get a TransportableFactory that creates new VinciFrames.Modifier and TypeMethodDescriptionstatic 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, 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) void
BaseClient.setTransportableFactory
(TransportableFactory f) Set the transportable factory used by this client.void
PooledVinciClient.setTransportableFactory
(TransportableFactory factory) Set a transportable factory that will be used in place of the VinciFrame factory.ModifierConstructorDescriptionBaseClient
(String h, int p, TransportableFactory f) Open up the service at the specified host and port.BaseClient
(String h, int p, TransportableFactory f, int timeout) Open up the service at the specified host and port, using the specified connect timeout.Create a base client without establishing a connection.BaseClient
(TransportableFactory f, int timeout) Create a base client without establishing a connection.VinciClient
(String service_name, TransportableFactory factory) Constructs a new client connected to the requested service.VinciClient
(String service_name, TransportableFactory factory, int connectTimeout) Constructs a new client connected to the requested service.VinciClient
(String service_name, TransportableFactory factory, VinciContext myContext) VinciClient
(String service_name, TransportableFactory factory, VinciContext myContext, int connectTimeout) Constructs a new client connected to the requested service.Construct a new client WITHOUT opening a connection, using the specified factory to create return documents. -
Uses of TransportableFactory 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(). -
Uses of TransportableFactory in org.apache.vinci.transport.document
Modifier and TypeMethodDescriptionstatic TransportableFactory
AFrame.getAFrameFactory()
Get a TransportableFactory that creates new AFrames. -
Uses of TransportableFactory 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. -
Uses of TransportableFactory in org.apache.vinci.transport.vns.client
Modifier and TypeFieldDescriptionstatic TransportableFactory
ResolveResult.factory
static TransportableFactory
ServeonResult.factory
-
Uses of TransportableFactory in org.apache.vinci.transport.vns.service
Modifier and TypeClassDescriptionclass
VNS (Vinci Naming Service) provides the "directory" of all available Vinci services.