/// /// <summary>Main for TypesListener.</summary> /// <param name="args"></param> /// public static void Main1(String[] args) { string uri = "tcp://localhost:4001"; MainTypesListener implFactory = new MainTypesListener(); ServerFactory listener = TypesHelper.NewListener(uri, null, implFactory); listener.TransportControl(TransportConsts.START_AND_WAIT_UP, 4000); }