|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OCSProxy
Interface implemented by all OCSProxies as generated by the OCSClassProxyFactory or the OCSInterfaceProxyFactory. All method names have prefix "ocs" to make it (next to) sure they don't coincide with method names of the proxy-fied subject classes.
Method Summary | |
---|---|
void |
ocsDetachFromSubject()
Detaches the proxy from its subject. |
OCSClient |
ocsGetClient()
Returns the OCSClient used by the proxy to forward requests to the subject. |
java.lang.String |
ocsGetSubjectAddress()
Returns the address of the server hosting the proxy's subject. |
java.lang.String |
ocsGetSubjectID()
Returns the ID of the proxy's subject. |
Method Detail |
---|
java.lang.String ocsGetSubjectID()
Returns the ID of the proxy's subject. The returned value is null, if the proxy has been detached from the subject.
java.lang.String ocsGetSubjectAddress()
OCSClient ocsGetClient()
void ocsDetachFromSubject()
Detaches the proxy from its subject. Note that a detached proxy becomes unusable. Do not call methods on a proxy which has been detached from its subject. Note that proxies are separated from their subjects automatically when they get finalized() or when the OCSClient they are associated with, shuts down.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |