org.objectweb.celtix.bindings
Class GenericClientBinding
java.lang.Object
org.objectweb.celtix.bindings.GenericClientBinding
- All Implemented Interfaces:
- BindingBase, ClientBinding
public abstract class GenericClientBinding
- extends Object
- implements ClientBinding
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
bus
protected final Bus bus
reference
protected final org.objectweb.celtix.addressing.EndpointReferenceType reference
transport
protected ClientTransport transport
GenericClientBinding
public GenericClientBinding(Bus b,
org.objectweb.celtix.addressing.EndpointReferenceType ref)
createTransport
protected ClientTransport createTransport()
createObjectContext
public ObjectMessageContext createObjectContext()
- Description copied from interface:
BindingBase
- Create an
ObjectMessageContext
to hold objects of a message.
- Specified by:
createObjectContext
in interface BindingBase
- Returns:
- The newly created ObjectMessageContext.
createBindingMessageContext
protected abstract javax.xml.ws.handler.MessageContext createBindingMessageContext(javax.xml.ws.handler.MessageContext orig)
marshal
protected abstract void marshal(ObjectMessageContext objContext,
javax.xml.ws.handler.MessageContext context)
unmarshal
protected abstract void unmarshal(javax.xml.ws.handler.MessageContext context,
ObjectMessageContext objContext)
write
protected abstract void write(javax.xml.ws.handler.MessageContext context,
OutputStreamMessageContext outCtx)
throws IOException
- Throws:
IOException
read
protected abstract void read(InputStreamMessageContext inCtx,
javax.xml.ws.handler.MessageContext context)
throws IOException
- Throws:
IOException
invoke
public ObjectMessageContext invoke(ObjectMessageContext context)
throws IOException
- Specified by:
invoke
in interface ClientBinding
- Throws:
IOException
invokeOneWay
public void invokeOneWay(ObjectMessageContext context)
- Specified by:
invokeOneWay
in interface ClientBinding
invokeAsync
public Future<ObjectMessageContext> invokeAsync(ObjectMessageContext context)
- Specified by:
invokeAsync
in interface ClientBinding