public class TransportProtocolHelper extends Object
Constructor and Description |
---|
TransportProtocolHelper() |
Modifier and Type | Method and Description |
---|---|
static DynamicSmartStub |
extractSmartStubFromProxy(Object dynamicProxy)
Extract DynamicSmartStub instance from desired dynamic proxy.
|
static long |
getRemoteObjID(Object obj)
Returns remoteObjID of supplied dynamic smartStub.
|
static boolean |
isDynamicSmartStub(Object obj)
Checks whether supplied obj is DynamicSmartStub wrapped by
Proxy or RemoteStub . |
public static long getRemoteObjID(Object obj)
obj
- the dynamic smartStub represents remoteObj.public static DynamicSmartStub extractSmartStubFromProxy(Object dynamicProxy)
public static boolean isDynamicSmartStub(Object obj)
Proxy
or RemoteStub
.obj
- dynamic proxy.true
if the supplied object is dynamicSmartStub.Copyright © GigaSpaces.