org.idoox.wasp.client.config
Interface ClientStubConfiguration

All Superinterfaces:
ProcessingConfiguration

Deprecated. See new Runtime Publishing API (ServiceClient).

public interface ClientStubConfiguration
extends ProcessingConfiguration

This interface contains methods used for configuring a service stub on the client side.

Since:
4.0
Component:
Core

Nested Class Summary
 
Nested classes inherited from class org.idoox.wasp.config.ProcessingConfiguration
ProcessingConfiguration.Header, ProcessingConfiguration.HeaderProcessorEntry, ProcessingConfiguration.InterceptorEntry, ProcessingConfiguration.Schema
 
Method Summary
 java.lang.String getAsyncProtocol()
          Deprecated. Get the protocol name on which responses for the stub are received.
 int getAsyncTimeout()
          Deprecated. Get the timeout (in seconds) for waiting on asynchronous transport.
 void setAsyncProtocol(java.lang.String protocol)
          Deprecated. Set the protocol name on which responses for the stub should be received.
 void setAsyncTimeout(int timeout)
          Deprecated. Set the timeout (in seconds) for waiting on asynchronous transport.
 
Methods inherited from interface org.idoox.wasp.config.ProcessingConfiguration
addDeserializer, addDeserializer, addFaultDeserializer, addFaultDeserializer, addFaultSerializer, addFaultSerializer, addInFaultHeaderProcessor, addInFaultHeaderProcessor, addInHeaderProcessor, addInHeaderProcessor, addInHeaderProcessor, addInHeaderProcessor, addInterceptor, addInterceptor, addOutFaultHeaderProcessor, addOutFaultHeaderProcessor, addOutHeaderProcessor, addOutHeaderProcessor, addOutHeaderProcessor, addOutHeaderProcessor, addSerializer, addSerializer, getDefaultProtocol, getDeserializers, getFaultDeserializers, getFaultSerializers, getInFaultHeaderProcessors, getInHeaderProcessors, getInterceptors, getOutFaultHeaderProcessors, getOutHeaderProcessors, getSerializers, isInstanceIDEnabled, isMultirefsEnabled, isPolymorphismEnabled, isPortTypeMappingPassingEnabled, removeDeserializer, removeFaultDeserializer, removeFaultSerializer, removeInFaultHeaderProcessor, removeInHeaderProcessor, removeInterceptor, removeOutFaultHeaderProcessor, removeOutHeaderProcessor, removeSerializer, setDefaultProtocol, setInstanceIDEnabled, setMultirefsEnabled, setPolymorphismEnabled, setPortTypeMappingPassingEnabled, setSchemaLocation, setTypeMapping
 

Method Detail

getAsyncProtocol

public java.lang.String getAsyncProtocol()
Deprecated. 
Get the protocol name on which responses for the stub are received.

Returns:
protocol name (configuration name, usually protocol schema like "http" or "mailto"), or null when the invocation goes synchronously over request/response protocol.

setAsyncProtocol

public void setAsyncProtocol(java.lang.String protocol)
Deprecated. 
Set the protocol name on which responses for the stub should be received.

Parameters:
protocol - protocol name (configuration name, usually protocol schema like "http" or "mailto"), or null if the invocation should go synchronously over request/response protocol.

getAsyncTimeout

public int getAsyncTimeout()
Deprecated. 
Get the timeout (in seconds) for waiting on asynchronous transport. Ignored when getAsyncProtocol(stub) returns null.

Returns:
the timeout in seconds; zero means infinity

setAsyncTimeout

public void setAsyncTimeout(int timeout)
Deprecated. 
Set the timeout (in seconds) for waiting on asynchronous transport. Ignored when getAsyncProtocol(stub) returns null.

Parameters:
timeout - the timeout in seconds; zero means infinity