Uses of Class
org.apache.vinci.transport.VNSException
Packages that use VNSException
Package
Description
-
Uses of VNSException in org.apache.vinci.transport
Methods in org.apache.vinci.transport that throw VNSExceptionModifier and TypeMethodDescriptionprotected int
VinciServer.getPort()
void
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 VNSExceptionModifierConstructorDescriptionVinciClient
(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 VNSExceptionModifier 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(). -
Uses of VNSException in org.apache.vinci.transport.document
Methods in org.apache.vinci.transport.document that throw VNSExceptionModifier 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)