예제 #1
0
 public void send(byte[] b) throws IOException, ISOException, VetoException {
   if (!isConnected()) throw new ISOException("unconnected ISOChannel");
   LogEvent evt = new LogEvent(this, "loopback-send", b);
   queue.enqueue(b);
   cnt[TX]++;
   notifyObservers();
   Logger.log(evt);
 }
예제 #2
0
 public void send(ISOMsg m) throws IOException, ISOException, VetoException {
   if (!isConnected()) throw new ISOException("unconnected ISOChannel");
   LogEvent evt = new LogEvent(this, "loopback-send", m);
   m = applyOutgoingFilters(m, evt);
   queue.enqueue(m);
   cnt[TX]++;
   notifyObservers();
   Logger.log(evt);
 }