6 import org.pcmm.rcd.ICMTS;
7 import org.pcmm.rcd.IPCMMPolicyServer;
8 import org.pcmm.rcd.IPCMMPolicyServer.IPSCMTSClient;
9 import org.pcmm.rcd.impl.CMTS;
10 import org.pcmm.rcd.impl.PCMMPolicyServer;
20 public static void main(String[] args) {
21 ICMTS icmts = new CMTS();
23 IPCMMPolicyServer ps = new PCMMPolicyServer();
24 IPSCMTSClient client = ps.requestCMTSConnection("localhost");
26 // IWorkerPool pool = new WorkerPool(2);
27 // IWorker worker = new Worker(new Callable<String>() {
29 // public String call() throws Exception {
31 // .println("Main.main(...).new Callable() {...}.call()");
35 // IWorker worker2 = new Worker(new Callable<String>() {
37 // public String call() throws Exception {
39 // .println("|||||||Main.main(...).new Callable() {...}.call()||||||||||||");
43 // pool.schedule(worker2, 2000);
44 // pool.schedule(worker, 500);