org.codehaus.xfire.transport
Class AbstractChannel

java.lang.Object
  extended by org.codehaus.xfire.transport.AbstractChannel
All Implemented Interfaces:
Channel
Direct Known Subclasses:
DeadLetterChannel, HttpChannel, LocalChannel

public abstract class AbstractChannel
extends java.lang.Object
implements Channel


Field Summary
 
Fields inherited from interface org.codehaus.xfire.transport.Channel
BACKCHANNEL_URI, OUTPUTSTREAM, PASSWORD, USERNAME
 
Constructor Summary
AbstractChannel()
           
 
Method Summary
 void close()
           
 ChannelEndpoint getEndpoint()
           
 Transport getTransport()
           
 java.lang.String getUri()
           
 boolean isAsync()
           
 void receive(MessageContext context, InMessage message)
           
 void setEndpoint(ChannelEndpoint receiver)
           
 void setTransport(Transport transport)
           
 void setUri(java.lang.String uri)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.codehaus.xfire.transport.Channel
open, send
 

Constructor Detail

AbstractChannel

public AbstractChannel()
Method Detail

getUri

public java.lang.String getUri()
Specified by:
getUri in interface Channel
Returns:
The URI which represents this Channel's endpoint.

setUri

public void setUri(java.lang.String uri)

setEndpoint

public void setEndpoint(ChannelEndpoint receiver)
Specified by:
setEndpoint in interface Channel

getEndpoint

public ChannelEndpoint getEndpoint()
Specified by:
getEndpoint in interface Channel

receive

public void receive(MessageContext context,
                    InMessage message)
Specified by:
receive in interface Channel

getTransport

public Transport getTransport()
Specified by:
getTransport in interface Channel

setTransport

public void setTransport(Transport transport)

isAsync

public boolean isAsync()
Specified by:
isAsync in interface Channel

close

public void close()
Specified by:
close in interface Channel


Copyright © 2004-2008. All Rights Reserved.