2008/9/18

cancelScheduledExecution,排程

cancelScheduledExecution

int scheduleExecutionFromScript(int interval, int numberOfTimes, String callbackName)

伺服器端的排程執行程式,
interval,執行間隔,以千分之一秒為單位
numerOfTimes,次數,-1代表無限次
callbackName,所要執行的方法

另外,可以透過cancelScheduledExecution方法取消

詳細請參考 http://www.electro-server.com/documentation/docs/es4/server/extension/com/electrotank/electroserver4/extensions/api/ElectroServerApi.html#cancelScheduledExecution(int)

沒有留言: