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();
 }
Beispiel #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();
 }
Beispiel #3
0
 public int getTimeStamp()
 {
     return((int)TimeStampClock.getTime());
 }