|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
public Response invoke(Request request) throws java.lang.Throwable
request
- the requestjava.lang.Throwable
- for any transport errorpublic URI getRemoteURI() throws ResourceException
ResourceException
- for any errorpublic URI getLocalURI() throws ResourceException
ResourceException
- for any errorpublic void close() throws ResourceException
ResourceException
- for any error.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |