public class TimeBaseProvider extends Object implements InvocationProvider, TimeBaseCodes
NO_SUCH_TIME_BASEACCESS_DENIED, E_ACCESS_DENIED, E_INTERNAL_ERROR, GLOBAL_GROUP, INTERNAL_ERROR| Constructor and Description |
|---|
TimeBaseProvider() |
| Modifier and Type | Method and Description |
|---|---|
static TimeBaseObject |
createTimeBase(String timeBase)
Creates a time base object which can subsequently be fetched by the client and used to send
delta times.
|
static TimeBaseObject |
getTimeBase(String timeBase)
Returns the named timebase object, or null if no time base object has been created with that
name.
|
void |
getTimeOid(ClientObject source,
String timeBase,
TimeBaseService.GotTimeBaseListener listener)
Processes a request from a client to fetch the oid of the specified time object.
|
static void |
init(InvocationManager invmgr,
RootDObjectManager omgr)
Registers the time provider with the appropriate managers.
|
public static void init(InvocationManager invmgr, RootDObjectManager omgr)
public static TimeBaseObject createTimeBase(String timeBase)
timeBase - the name of the time base to create.public static TimeBaseObject getTimeBase(String timeBase)
public void getTimeOid(ClientObject source, String timeBase, TimeBaseService.GotTimeBaseListener listener) throws InvocationException
InvocationExceptionCopyright © 2015. All rights reserved.