@OARemoteInterface public interface RemoteSessionInterface
Modifier and Type | Method and Description |
---|---|
void |
addToServerCache(OAObject obj)
Used to make sure that object is stored in the server side
|
OAObject |
createNewObject(Class clazz)
create a new object on the server,
and call addToCache
|
boolean |
isLocked(Class objectClass,
OAObjectKey objectKey) |
boolean |
isLockedByAnotherClient(Class objectClass,
OAObjectKey objectKey) |
boolean |
isLockedByThisClient(Class objectClass,
OAObjectKey objectKey) |
String |
ping(String msg) |
void |
ping2(String msg) |
void |
removeFromServerCache(int[] guids)
Objects on server side cache, that are on client that might get gc'd on server.
|
void |
removeGuids(int[] guids) |
void |
sendException(String msg,
Throwable ex) |
boolean |
setLock(Class objectClass,
OAObjectKey objectKey,
boolean bLock) |
void |
update(ClientInfo ci) |
OAObject createNewObject(Class clazz)
@OARemoteMethod(noReturnValue=true, dontUseQueue=true) void addToServerCache(OAObject obj)
obj
- @OARemoteMethod(noReturnValue=true, dontUseQueue=true) void removeFromServerCache(int[] guids)
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(noReturnValue=true, dontUseQueue=true) void removeGuids(int[] guids)
@OARemoteMethod(dontUseQueue=true) String ping(String msg)
@OARemoteMethod(noReturnValue=true, dontUseQueue=true) void ping2(String msg)
Copyright © 1999–2019 ViaOA. All rights reserved.