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 intVinciServer. getPort()voidVinciClient. open(java.lang.String service_name)Connects the client to the specified service as delegated by VNS.static VinciFrameVinciClient. rpc(Transportable in, java.lang.String service_name)Same as VinciClient.sendAndReceive(Transportable) except for return type.static VinciFrameVinciClient. 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 VinciFrameVinciClient. 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 TransportableVinciClient. sendAndReceive(Transportable in, java.lang.String service_name, TransportableFactory factory)Convenience method for "one-shot"/single-query connections.voidVinciServer. serve()Serve requests until a clean shutdown is triggered.voidVinciServer. 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(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, VinciContext myContext)VinciClient(java.lang.String service_name, VinciContext myContext, int connectTimeout)Constructs a new client connected to the requested service.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. -
Uses of VNSException in org.apache.vinci.transport.context
Methods in org.apache.vinci.transport.context that throw VNSException Modifier and Type Method Description VinciFrameVinciContext. rpc(Transportable in, java.lang.String service_name)See documentation for VinciClient.rpc().VinciFrameVinciContext. rpc(Transportable in, java.lang.String service_name, int timeout)See documentation for VinciClient.rpc().VinciFrameVinciContext. rpc(Transportable in, java.lang.String service_name, int socket_timeout, int connect_timeout)See documentation for VinciClient.rpc().TransportableVinciContext. sendAndReceive(Transportable in, java.lang.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 AFrameAFrame. rpc(Transportable in, java.lang.String service_name)static AFrameAFrame. rpc(Transportable in, java.lang.String service_name, int socket_timeout)static AFrameAFrame. rpc(Transportable in, java.lang.String service_name, int socket_timeout, int connect_timeout)
-