mx4j.tools.remote

Class AbstractConnection

Implemented Interfaces:
Connection
Known Direct Subclasses:
JMXConnectionHandler

public abstract class AbstractConnection
extends java.lang.Object
implements Connection

Implementation of the Connection interface, to be used on the server-side end of the connection.
Version:
$Revision: 1.4 $

Constructor Summary

AbstractConnection(String connectionId, ConnectionManager manager)

Method Summary

void
close()
Closes this connection
String
getConnectionId()
Returns the connection ID as specified by JSR 160 specification

Constructor Details

AbstractConnection

protected AbstractConnection(String connectionId,
                             ConnectionManager manager)

Method Details

close

public void close()
            throws IOException
Closes this connection
Specified by:
close in interface Connection

getConnectionId

public String getConnectionId()
            throws IOException
Returns the connection ID as specified by JSR 160 specification
Specified by:
getConnectionId in interface Connection

Copyright © 2001-2005 The MX4J Contributors. All Rights Reserved.