在libevent中,获取event类型对象的方法有两种,event_assign.event_new 1.event_assign() /** Prepare a new, already-allocated event structure to be added. The function event_assign() prepares the event structure ev to be used in future calls to event_add() and event_del
public class BallUtil { public static Timer fisTimer ; public static void fisStartBall(){ long firstTime = 2000l; long time = 2000l; if(fisTimer==null){ fisTimer = new Timer(); } fisTimer.scheduleAtFixedRate(new TimerTask(){ public void run(){ System