tw.net.ocs
Interface OCSInterfaceProxy

All Superinterfaces:
OCSProxy

public interface OCSInterfaceProxy
extends OCSProxy

Interface implemented by all interface proxies as generated by the OCSInterfaceProxyFactory

Author:
Tillmann Wegst

Method Summary
 boolean ocsImplementsSubjectAllMethods()
           Tells whether the subject which this interface proxy is associated with, provides every method declared in the interface(s).
 
Methods inherited from interface tw.net.ocs.OCSProxy
ocsDetachFromSubject, ocsGetClient, ocsGetSubjectAddress, ocsGetSubjectID
 

Method Detail

ocsImplementsSubjectAllMethods

boolean ocsImplementsSubjectAllMethods()
Tells whether the subject which this interface proxy
is associated with, provides every method declared
in the interface(s).

An interface proxy allows to invoke the methods declared
in one or more interfaces and delegates their execution
to an associated server-side subject of some class.

It is perfectly legal to equip an interface proxy with
methods not provided by the associated subject.
As long as the missing methods aren't called, no havoc
will result. If they are, an OCSRuntimeException will
be thrown.
                

Returns:
true if and only if all of the proxy's methods are also methods of the subject class
See Also:
OCSInterfaceProxyFactory.generateProxyFor(java.lang.Class[], java.lang.Class, java.lang.String, tw.net.ocs.OCSClient, boolean)


OCSelot @ www.ocselot.net www.ocselot.net