Package | Description |
---|---|
org.apache.vinci.transport | |
org.apache.vinci.transport.context | |
org.apache.vinci.transport.document |
Modifier and Type | Method and Description |
---|---|
protected int |
VinciServer.getPort() |
void |
VinciClient.open(java.lang.String service_name)
Connects the client to the specified service as delegated by VNS.
|
static VinciFrame |
VinciClient.rpc(Transportable in,
java.lang.String service_name)
Same as VinciClient.sendAndReceive(Transportable) except for return type.
|
static VinciFrame |
VinciClient.rpc(Transportable in,
java.lang.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,
java.lang.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 Transportable |
VinciClient.sendAndReceive(Transportable in,
java.lang.String service_name,
TransportableFactory factory)
Convenience method for "one-shot"/single-query connections.
|
void |
VinciServer.serve()
Serve requests until a clean shutdown is triggered.
|
void |
VinciServer.startServing()
Start a new thread that will serve requests until a clean shutdown is triggered.
|
Constructor and Description |
---|
VinciClient(java.lang.String service_name)
Construct a new client connected to the requested service, and uses a VinciFrame factory to
create the return document type.
|
VinciClient(java.lang.String service_name,
int connectTimeout)
Construct a new client connected to the requested service, and uses a VinciFrame factory to
create the return document type.
|
VinciClient(java.lang.String service_name,
TransportableFactory factory)
Constructs a new client connected to the requested service.
|
VinciClient(java.lang.String service_name,
TransportableFactory factory,
int connectTimeout)
Constructs a new client connected to the requested service.
|
VinciClient(java.lang.String service_name,
TransportableFactory factory,
VinciContext myContext) |
VinciClient(java.lang.String service_name,
TransportableFactory factory,
VinciContext myContext,
int connectTimeout)
Constructs a new client connected to the requested service.
|
VinciClient(java.lang.String service_name,
VinciContext myContext) |
VinciClient(java.lang.String service_name,
VinciContext myContext,
int connectTimeout)
Constructs a new client connected to the requested service.
|
Modifier and Type | Method and Description |
---|---|
VinciFrame |
VinciContext.rpc(Transportable in,
java.lang.String service_name)
See documentation for VinciClient.rpc().
|
VinciFrame |
VinciContext.rpc(Transportable in,
java.lang.String service_name,
int timeout)
See documentation for VinciClient.rpc().
|
VinciFrame |
VinciContext.rpc(Transportable in,
java.lang.String service_name,
int socket_timeout,
int connect_timeout)
See documentation for VinciClient.rpc().
|
Transportable |
VinciContext.sendAndReceive(Transportable in,
java.lang.String service_name,
TransportableFactory factory)
See documentation for VinciClient.sendAndReceive().
|
Modifier and Type | Method and Description |
---|---|
static AFrame |
AFrame.rpc(Transportable in,
java.lang.String service_name) |
static AFrame |
AFrame.rpc(Transportable in,
java.lang.String service_name,
int socket_timeout) |
static AFrame |
AFrame.rpc(Transportable in,
java.lang.String service_name,
int socket_timeout,
int connect_timeout) |
Copyright © 2014. All Rights Reserved.