org.codehaus.xfire.transport
Interface Channel
- All Known Implementing Classes:
- AbstractChannel, DeadLetterChannel, DelegatedChannel, HttpSoapChannel, LocalChannel, XMPPChannel
public interface Channel
A channel for communication. This can be a channel on an underlying transport -
like HTTP - or wrap another channel and provide additional functions - like
reliable messaging.
- Author:
- Dan Diephouse
Field Summary |
static java.lang.String |
BACKCHANNEL_URI
The URI which represents that a message should be sent over a back channel, i.e. |
BACKCHANNEL_URI
static final java.lang.String BACKCHANNEL_URI
- The URI which represents that a message should be sent over a back channel, i.e.
an HttpServletResponse, instead of opening a new connection.
- See Also:
- Constant Field Values
open
void open()
throws java.lang.Exception
- Throws:
java.lang.Exception
send
void send(MessageContext context,
OutMessage message)
throws XFireException
- Sends a message.
- Parameters:
context
- message
-
- Throws:
XFireException
- Occurs if there was an error an error sending the message.
receive
void receive(MessageContext context,
InMessage message)
setEndpoint
void setEndpoint(ChannelEndpoint receiver)
getEndpoint
ChannelEndpoint getEndpoint()
close
void close()
getTransport
Transport getTransport()
getUri
java.lang.String getUri()
- Returns:
- The URI which represents this Channel's endpoint.
Copyright © 2004-2005 Codehaus. All Rights Reserved.