org.jboss.remoting3
Interface ClientContext
- All Superinterfaces:
- Attachable, Closeable, HandleableCloseable<ClientContext>
public interface ClientContext
- extends HandleableCloseable<ClientContext>, Attachable
The server context for a single remote client instance.
|
Method Summary |
void |
close()
Close the client from the server side. |
Connection |
getConnection()
Get the connection associated with this client context. |
getConnection
Connection getConnection()
- Get the connection associated with this client context. If the client is local,
null is returned.
- Returns:
- the connection, or
null if there is none
close
void close()
throws IOException
- Close the client from the server side.
- Specified by:
close in interface Closeable- Specified by:
close in interface HandleableCloseable<ClientContext>
- Throws:
IOException - if an I/O error occurs
Copyright © 2010 JBoss, a division of Red Hat, Inc.