| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjist.runtime.JistAPI
jist.runtime.JistAPI_Impl
public final class JistAPI_Impl
The concrete implementation of the JistAPI application interface stub.
| Nested Class Summary | 
|---|
| Nested classes/interfaces inherited from class jist.runtime.JistAPI | 
|---|
| JistAPI.Continuable, JistAPI.Continuation, JistAPI.CustomRewriter, JistAPI.DoNotRewrite, JistAPI.Entity, JistAPI.Logger, JistAPI.Proxiable, JistAPI.Timeless | 
| Field Summary | |
|---|---|
| static java.lang.String | INVALID_CALL_MSGInvalid system call error message. | 
| static java.lang.reflect.Method | method_callStaticAtMethod stub field for invoking a static method at some simulation time. | 
| static java.lang.reflect.Method | method_createChannelMethod stub field for creating blocking channel. | 
| static java.lang.reflect.Method | method_endMethod stub field for ending simulation now. | 
| static java.lang.reflect.Method | method_endAtMethod stub field for ending simulation at given time. | 
| static java.lang.reflect.Method | method_getTimeMethod stub field for retrieving simulation time. | 
| static java.lang.reflect.Method | method_getTimeStringMethod stub field for getting simulation time string. | 
| static java.lang.reflect.Method | method_installRewriteMethod stub field for installing a new rewriting step at top of chain. | 
| static java.lang.reflect.Method | method_isEntityMethod stub field for determining whether a reference is an entity reference. | 
| static java.lang.reflect.Method | method_logMethod stub field for logging. | 
| static java.lang.reflect.Method | method_proxyMethod stub field for creating proxy entity. | 
| static java.lang.reflect.Method | method_proxyManyMethod stub field for creating proxy entity with multiple interfaces. | 
| static java.lang.reflect.Method | method_refMethod stub field for converting an entity into an entity reference. | 
| static java.lang.reflect.Method | method_runMethod stub field for bootstrapping a new simulation. | 
| static java.lang.reflect.Method | method_runAtMethod stub field for running a Runnable object at some simulation time. | 
| static java.lang.reflect.Method | method_setLogMethod stub field for setting logger. | 
| static java.lang.reflect.Method | method_setSimUnitsMethod stub field for setting simulation time units. | 
| static java.lang.reflect.Method | method_sleepMethod stub field for advancing simulation time. | 
| static java.lang.reflect.Method | method_sleepBlockMethod stub field for advancing simulation time (with blocking). | 
| static java.lang.reflect.Method | method_sleepBlockAPIAPI Method stub field for advancing simulation time (with blocking). | 
| static java.lang.reflect.Method | method_toStringMethod stub field for toString method. | 
| Fields inherited from class jist.runtime.JistAPI | 
|---|
| END, RUN_BSH, RUN_CLASS, RUN_JPY, THIS | 
| Constructor Summary | |
|---|---|
| JistAPI_Impl() | |
| Method Summary | |
|---|---|
| static void | callStaticAt(java.lang.reflect.Method meth,
             java.lang.Object[] params,
             long time) | 
| static Channel | createChannel() | 
| static EntityRef | createChannelImpl()Actual implementation of createChannelmethod;
 returns new Channel Entity reference. | 
| static void | end() | 
| static void | endAt(long time) | 
| static long | getTime() | 
| static java.lang.String | getTimeString() | 
| static void | installRewrite(ClassTraversal.Visitor rewrite) | 
| static boolean | isEntity(java.lang.Object o) | 
| static void | log(java.lang.String s) | 
| static java.lang.Object | proxy(java.lang.Object proxyTarget,
      java.lang.Class proxyInterface) | 
| static java.lang.Object | proxyMany(java.lang.Object proxyTarget,
          java.lang.Class[] proxyInterface) | 
| static java.lang.Object | ref(java.lang.Object o) | 
| static void | run(int type,
    java.lang.String name,
    java.lang.String[] args,
    java.lang.Object properties) | 
| static void | runAt(java.lang.Runnable r,
      long time) | 
| static void | setLog(JistAPI.Logger logger) | 
| static void | setSimUnits(long ticks,
            java.lang.String name) | 
| static void | sleep(long i) | 
| static void | sleepBlock(long i) | 
| static java.lang.String | toString(java.lang.Object o) | 
| Methods inherited from class jist.runtime.JistAPI | 
|---|
| installRewrite, ref | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static final java.lang.String INVALID_CALL_MSG
public static java.lang.reflect.Method method_getTime
public static java.lang.reflect.Method method_sleep
public static java.lang.reflect.Method method_sleepBlock
public static java.lang.reflect.Method method_sleepBlockAPI
public static java.lang.reflect.Method method_ref
public static java.lang.reflect.Method method_end
public static java.lang.reflect.Method method_endAt
public static java.lang.reflect.Method method_callStaticAt
public static java.lang.reflect.Method method_runAt
public static java.lang.reflect.Method method_proxy
public static java.lang.reflect.Method method_proxyMany
public static java.lang.reflect.Method method_createChannel
public static java.lang.reflect.Method method_installRewrite
public static java.lang.reflect.Method method_run
public static java.lang.reflect.Method method_setSimUnits
public static java.lang.reflect.Method method_getTimeString
public static java.lang.reflect.Method method_setLog
public static java.lang.reflect.Method method_log
public static java.lang.reflect.Method method_isEntity
public static java.lang.reflect.Method method_toString
| Constructor Detail | 
|---|
public JistAPI_Impl()
| Method Detail | 
|---|
public static long getTime()
JistAPIpublic static void sleep(long i)
JistAPI
public static void sleepBlock(long i)
                       throws JistAPI.Continuable
JistAPI.ContinuableJistAPIpublic static java.lang.Object ref(java.lang.Object o)
JistAPIpublic static void end()
JistAPIpublic static void endAt(long time)
JistAPI
public static void callStaticAt(java.lang.reflect.Method meth,
                                java.lang.Object[] params,
                                long time)
JistAPI
public static void runAt(java.lang.Runnable r,
                         long time)
JistAPI
public static java.lang.Object proxy(java.lang.Object proxyTarget,
                                     java.lang.Class proxyInterface)
JistAPI
public static java.lang.Object proxyMany(java.lang.Object proxyTarget,
                                         java.lang.Class[] proxyInterface)
JistAPIpublic static Channel createChannel()
JistAPIpublic static EntityRef createChannelImpl()
createChannel method;
 returns new Channel Entity reference.
public static void installRewrite(ClassTraversal.Visitor rewrite)
JistAPI
public static void run(int type,
                       java.lang.String name,
                       java.lang.String[] args,
                       java.lang.Object properties)
JistAPI
public static void setSimUnits(long ticks,
                               java.lang.String name)
JistAPIpublic static java.lang.String getTimeString()
JistAPIpublic static void setLog(JistAPI.Logger logger)
JistAPIpublic static void log(java.lang.String s)
JistAPIpublic static boolean isEntity(java.lang.Object o)
JistAPIpublic static java.lang.String toString(java.lang.Object o)
JistAPI| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||