1 4 package com.tc.server; 5 6 import com.tc.config.schema.L2Info; 7 8 public interface TCServer { 9 void setActivationListener(TCServerActivationListener listener); 10 11 void start() throws Exception ; 12 13 void stop(); 14 15 boolean isStarted(); 16 17 boolean isActive(); 18 19 boolean isStopped(); 20 21 long getStartTime(); 22 23 long getActivateTime(); 24 25 void shutdown(); 26 27 String getDescriptionOfCapabilities(); 28 29 L2Info[] infoForAllL2s(); 30 } 31 | Popular Tags |