예제 #1
0
 protected void dataArriveAtUpPort(Object data_, Port upPort_) {
   try {
     if (upPort_ == null || ((ByteStreamContract.Message) data_).isReport())
       tcpsink.dataArriveAtUpPort(data_, upPort_);
     else super.dataArriveAtUpPort(data_, upPort_);
   } catch (Exception e_) {
     if (e_ instanceof ClassCastException)
       error(data_, "dataArriveAtUpPort()", upPort, "unrecognized data: " + e_);
     else e_.printStackTrace();
   }
 }
예제 #2
0
 public void duplicate(Object source_) {
   super.duplicate(source_);
 }
예제 #3
0
 public void reset() {
   super.reset();
   tcpsink.reset();
 }
예제 #4
0
 public void setPeer(long peer_) {
   super.setPeer(peer_);
   tcpsink.peer = peer_;
 }
예제 #5
0
 public void setSackEnabled(boolean sack_) {
   super.setSackEnabled(sack_);
   tcpsink.setSackEnabled(sack_);
 }
예제 #6
0
 public void setMSS(int mss) {
   super.setMSS(mss);
   tcpsink.setMSS(mss);
 }
예제 #7
0
 public void setTTL(int ttl) {
   super.setTTL(ttl);
   tcpsink.setTTL(ttl);
 }