org.apache.geronimo.remoting.router
Interface Router

All Known Subinterfaces:
TransportClient
All Known Implementing Classes:
AbstractInterceptorRouter, AbstractRouterRouter, AsyncClient, ChannelPool, InterceptorRegistryRouter

public interface Router

Version:
$Revision: 1.3 $ $Date: 2004/03/10 09:59:19 $

Method Summary
 void sendDatagram(URI to, Msg request)
          Sends a datagram message.
 Msg sendRequest(URI to, Msg request)
          Sends a request message to the other end.
 

Method Detail

sendRequest

public Msg sendRequest(URI to,
                       Msg request)
                throws TransportException
Sends a request message to the other end.

Parameters:
request -
Returns:
Throws:
TransportException

sendDatagram

public void sendDatagram(URI to,
                         Msg request)
                  throws TransportException
Sends a datagram message. No response is expected.

Parameters:
request -
Returns:
Throws:
TransportException


Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.