|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Connection
A Connection
represents an application-level handle that is used
by a client to access the underlying physical connection. The actual physical
connection associated with a Connection
instance is represented
by a ManagedConnection
instance.
ManagedConnection
Method Summary | |
---|---|
void |
close()
Close this connection, releasing any allocated resources. |
URI |
getLocalURI()
Returns the local address that this connection is bound to |
URI |
getRemoteURI()
Returns the remote address to which this is connected |
Response |
invoke(Request request)
Invoke a method on a remote object |
Method Detail |
---|
Response invoke(Request request) throws java.lang.Throwable
request
- the request
java.lang.Throwable
- for any transport errorURI getRemoteURI() throws ResourceException
ResourceException
- for any errorURI getLocalURI() throws ResourceException
ResourceException
- for any errorvoid close() throws ResourceException
ResourceException
- for any error.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |