org.objectweb.joram.client.jms

Interface ConnectionItf

Known Implementing Classes:
LocalConnection, TcpConnection

public interface ConnectionItf

The ConnectionItf interface defines the methods provided to Connection objects for actually exchanging requests and replies with the Joram platform.

This interface is implemented by classes dedicated to a given communication protocol (as TCP or SOAP).

See Also:
TcpConnection, org.objectweb.joram.client.jms.soap.SoapConnection

Method Summary

void
close()
Closes the connection.
Driver
createDriver(Connection cnx)
Creates a driver for providing the connection with server's replies.
void
send(AbstractJmsRequest request)
Sends a JMS request to the server.

Method Details

close

public void close()
Closes the connection.


createDriver

public Driver createDriver(Connection cnx)
Creates a driver for providing the connection with server's replies.

Parameters:
cnx - The calling Connection instance.


send

public void send(AbstractJmsRequest request)
            throws javax.jms.IllegalStateException
Sends a JMS request to the server.


Copyright B) 2004 Scalagent - All rights reserved