예제 #1
0
 /**
  * Set application TCP entity.
  *
  * @param tcp tcp entity
  */
 public void setTcpEntity(TransInterface.TransTcpInterface tcp) {
   if (!JistAPI.isEntity(tcp)) throw new IllegalArgumentException("expected entity");
   this.tcp = tcp;
 }
예제 #2
0
 /** {@inheritDoc} */
 public void setCurrentThread(SimtimeThread thread) {
   if (!JistAPI.isEntity(thread)) throw new IllegalArgumentException("expected entity");
   this.thread = thread;
 }
예제 #3
0
 /**
  * Set application UDP entity.
  *
  * @param udp udp entity
  */
 public void setUdpEntity(TransInterface.TransUdpInterface udp) {
   if (!JistAPI.isEntity(udp)) throw new IllegalArgumentException("expected entity");
   this.udp = udp;
 }