Пример #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;
 }