Modifier and Type | Class and Description |
---|---|
class |
CASTransportable |
Modifier and Type | Method and 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() |
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
Transportable |
LocalVNS.eval(Transportable in)
Main method called by services advertising their availability.
|
Modifier and Type | Method and Description |
---|---|
Transportable |
LocalVNS.eval(Transportable in)
Main method called by services advertising their availability.
|
Modifier and Type | Method and Description |
---|---|
Transportable |
Vinci.AFFactory.makeTransportable() |
Modifier and Type | Class and 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.
|
Modifier and Type | Method and Description |
---|---|
static Transportable |
VinciServer.createShutdownCommand(String shutdown_message)
Factory method for creating a shutdown message.
|
abstract Transportable |
VinciServableAdapter.eval(Transportable in) |
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.
|
Transportable |
BaseServer.eval(Transportable in,
KeyValuePair header)
This function is a callback for the (Base/Vinci)ServerRunnable.
|
Transportable |
ServiceException.getCompleteDocument() |
Transportable |
VinciServerRunnable.handleHeader(KeyValuePair header)
Handle shutdown requests, and PING commands.
|
Transportable |
BaseServerRunnable.handleHeader(KeyValuePair header) |
Transportable |
VinciServableAdapter.makeTransportable() |
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 |
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 |
PooledVinciClient.sendAndReceive(Transportable in)
Send a request to the service and receive the response.
|
Transportable |
BaseClient.sendAndReceive(Transportable in,
int timeout)
Takes a transportable object, sends it across the connection, then retrieves the response and
returns it.
|
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.
|
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.
|
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.
|
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 |
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 |
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,
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.
|
protected Transportable |
BaseClient.sendAndReceiveWork(Transportable in,
TransportableFactory f) |
protected Transportable |
BaseClient.sendAndReceiveWork(Transportable in,
TransportableFactory f,
int timeout) |
Modifier and Type | Method and Description |
---|---|
abstract Transportable |
VinciServableAdapter.eval(Transportable in) |
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.
|
Transportable |
BaseServer.eval(Transportable in,
KeyValuePair header)
This function is a callback for the (Base/Vinci)ServerRunnable.
|
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 |
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 |
BaseClient.rpc(Transportable in,
String host_name,
int p)
Convenience method for "one-shot" or "single-query" connections.
|
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.
|
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.
|
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 |
PooledVinciClient.sendAndReceive(Transportable in)
Send a request to the service and receive the response.
|
Transportable |
BaseClient.sendAndReceive(Transportable in,
int timeout)
Takes a transportable object, sends it across the connection, then retrieves the response and
returns it.
|
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.
|
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.
|
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.
|
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 |
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 |
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,
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.
|
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.
|
Constructor and Description |
---|
ServiceException(String error_message,
Transportable result) |
SimpleTransportable(Transportable convert_me)
Create a SimpleTransportable that is an immutable copy of the provided Transportable object.
|
Modifier and Type | Method and 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().
|
Modifier and Type | Method and 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().
|
Modifier and Type | Class and Description |
---|---|
class |
AFrame
This class is a VinciFrame with extensions for support of XML attributes.
|
Modifier and Type | Method and Description |
---|---|
static Transportable |
XMLToVinci.xmlToTransportable(Reader r,
Transportable empty)
Populate the empty document with the XML yielded by the provided reader.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
static Transportable |
TransportableConverter.convert(Transportable convert_me,
TransportableFactory factory)
Convert a transportable to the type of transportable returned by a factory.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Class and 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.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
Transportable |
VNS.eval(Transportable inp) |
Modifier and Type | Method and Description |
---|---|
Transportable |
VNS.eval(Transportable inp) |
Copyright © 2006–2017 The Apache Software Foundation. All rights reserved.