public UtopiaClient()
 {
     this.tsclock              = new TimeStampClock();
     this.msgbuffer            = ByteBuffer.allocate(MAXBUFFERSIZE);
     this.tmpbuffer            = ByteBuffer.allocate(MAXBUFFERSIZE);
     this.inbuffer             = ByteBuffer.allocate(MAXBUFFERSIZE);
     this.nextHeartbeatTime    = getTimeStamp();
     this.nextHeartbeatTimeUDP = getTimeStamp();
 }
Exemplo n.º 2
0
 public UtopiaClient()
 {
     this.tsclock              = new TimeStampClock();
     this.msgbuffer            = ByteBuffer.allocate(MAXBUFFERSIZE);
     this.tmpbuffer            = ByteBuffer.allocate(MAXBUFFERSIZE);
     this.inbuffer             = ByteBuffer.allocate(MAXBUFFERSIZE);
     this.nextHeartbeatTime    = getTimeStamp();
     this.nextHeartbeatTimeUDP = getTimeStamp();
     this.ssdpDiscovery        = null;
     this.clientSocket         = new TcpClient();
 }
Exemplo n.º 3
0
 public int getTimeStamp()
 {
     return((int)TimeStampClock.getTime());
 }