@OARemoteInterface public interface RemoteSessionInterface
Modifier and Type | Method and Description |
---|---|
boolean |
isLocked(Class objectClass,
OAObjectKey objectKey) |
boolean |
isLockedByAnotherClient(Class objectClass,
OAObjectKey objectKey) |
boolean |
isLockedByThisClient(Class objectClass,
OAObjectKey objectKey) |
void |
objectCreated(int guid)
This is called when a new OAObject is created on the Client,
so that the Server side Session can use it when filtering broadcast msgs.
|
void |
objectsFinalized(int[] guids)
Called by client OAObject finalization, to remove guid from server side client session.
|
String |
ping(String msg) |
void |
ping2(String msg) |
void |
sendException(String msg,
Throwable ex) |
boolean |
setLock(Class objectClass,
OAObjectKey objectKey,
boolean bLock) |
void |
update(ClientInfo ci) |
void |
updateObjectsWithoutHubs(Class c,
OAObjectKey ok,
boolean bIsInHub)
Used to make sure that objects are stored in the server side and wont be GCd.
|
@OARemoteMethod(noReturnValue=true, dontUseQueue=true) void objectCreated(int guid)
@OARemoteMethod(noReturnValue=true, dontUseQueue=true) void objectsFinalized(int[] guids)
@OARemoteMethod(noReturnValue=true, dontUseQueue=true) void updateObjectsWithoutHubs(Class c, OAObjectKey ok, boolean bIsInHub)
boolean setLock(Class objectClass, OAObjectKey objectKey, boolean bLock)
boolean isLocked(Class objectClass, OAObjectKey objectKey)
boolean isLockedByAnotherClient(Class objectClass, OAObjectKey objectKey)
boolean isLockedByThisClient(Class objectClass, OAObjectKey objectKey)
@OARemoteMethod(noReturnValue=true, dontUseQueue=true) void update(ClientInfo ci)
@OARemoteMethod(noReturnValue=true, dontUseQueue=true) void sendException(String msg, Throwable ex)
@OARemoteMethod(dontUseQueue=true) String ping(String msg)
@OARemoteMethod(noReturnValue=true, dontUseQueue=true) void ping2(String msg)
Copyright © 1999–2025 ViaOA. All rights reserved.