Uses of Class
org.apache.vinci.transport.VNSException
-
Packages that use VNSException Package Description org.apache.vinci.transport org.apache.vinci.transport.context org.apache.vinci.transport.document -
-
Uses of VNSException in org.apache.vinci.transport
Methods in org.apache.vinci.transport that throw VNSException Modifier and Type Method Description protected int
VinciServer. getPort()
void
VinciClient. open(String service_name)
Connects the client to the specified service as delegated by VNS.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.static Transportable
VinciClient. sendAndReceive(Transportable in, 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.Constructors in org.apache.vinci.transport that throw VNSException Constructor Description VinciClient(String service_name)
Construct a new client connected to the requested service, and uses a VinciFrame factory to create the return document type.VinciClient(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(String service_name, VinciContext myContext)
VinciClient(String service_name, VinciContext myContext, int connectTimeout)
Constructs a new client connected to the requested service.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. -
Uses of VNSException in org.apache.vinci.transport.context
Methods in org.apache.vinci.transport.context that throw VNSException 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(). -
Uses of VNSException in org.apache.vinci.transport.document
Methods in org.apache.vinci.transport.document that throw VNSException 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)
-