6 import org.pcmm.PCMMConstants;
7 import org.pcmm.PCMMProperties;
8 import org.pcmm.rcd.ICMTS;
9 import org.pcmm.rcd.impl.CMTS;
19 public static void main(String[] args) {
20 ICMTS icmts = new CMTS(PCMMProperties.get(PCMMConstants.PCMM_PORT, Integer.class));
22 // IPCMMPolicyServer ps = new PCMMPolicyServer();
23 // IPSCMTSClient client = ps.requestCMTSConnection("localhost");
25 // IWorkerPool pool = new WorkerPool(2);
26 // IWorker worker = new Worker(new Callable<String>() {
28 // public String call() throws Exception {
30 // .println("Main.main(...).new Callable() {...}.call()");
34 // IWorker worker2 = new Worker(new Callable<String>() {
36 // public String call() throws Exception {
38 // .println("|||||||Main.main(...).new Callable() {...}.call()||||||||||||");
42 // pool.schedule(worker2, 2000);
43 // pool.schedule(worker, 500);