Exemplo n.º 1
0
 public IAisSocketServer Run()
 {
     if (list == null)
     {
         list = new AisListImpl();
     }
     if (this.server == null)
     {
         AisSocketServerImpl server = new AisSocketServerImpl(15000);
         server.Run();
         server.SetList(list);
         this.server = server;
     }
     return(this.server);
 }
Exemplo n.º 2
0
 public void SetList(IAisList list)
 {
     this.list = list;
 }