public interface IProxyBase
|Modifier and Type||Method and Description|
Returns a valid class name specification.
TestDomainthat this proxy object is associated with.
TestDomainclass full name.
testObjectperforms a cross-process (and cross-JVM) call to the same method against an associated proxy, which is this proxy.
This method should never return
null, even if
false. User may still access objects such as this through
scripting method calls and can return references to them.
If a null were returned, the marshalling code would be confused and would not
be able to construct a test object.
This method may be called from any thread.
testObjectclass full name.
trueif the underlying object is still valid. This method is called by the framework when the proxy is being invoked through reflection. In some domains, the proxies access to the underlying object may not be guaranteed, but there may be some checks that could be used to safeguard the proxy. For example, in Microsoft Windows, a proxy that wrapped an HWND-based object might want to validate that the HWND was still correct. It might do this by checking the window classname, the thread to which the window belongs, and the validity of the window handle itself. The default implementation just returns true. If this returns false, subsequent calls to the object may be blocked.
trueif the underlying object is valid.