@@ -68,7 +68,7 @@ public void attachASAPMessageAddListener(ASAPOnlineMessageSender asapOnlineMessa
6868 this .asapOnlineMessageSender = asapOnlineMessageSender ;
6969 }
7070
71- public void detachASAPMessageAddListener (ASAPOnlineMessageSender asapOnlineMessageSender ) {
71+ public void detachASAPMessageAddListener () {
7272 this .asapOnlineMessageSender = null ;
7373 }
7474
@@ -213,7 +213,7 @@ private ASAPChannelImpl getASAPChannelImpl(CharSequence uri) throws ASAPExceptio
213213 return new ASAPChannelImpl (this , uri );
214214 }
215215
216- throw new ASAPException ("channel with does not exist: " + uri );
216+ throw new ASAPException ("channel with this uri does not exist: " + uri );
217217 }
218218
219219 @ Override
@@ -264,13 +264,15 @@ private String getLogStart() {
264264 StringBuilder b = new StringBuilder ();
265265 b .append ("ASAPEngine (" );
266266 b .append (this .owner );
267+ b .append (", format: " );
268+ b .append (this .format );
267269 b .append (", era: " );
268270 b .append (this .era );
269271 b .append ("): " );
270272
271273 return b .toString ();
272274 }
273-
275+ /*
274276 public void handleConnection(InputStream is, OutputStream os,
275277 ASAPChunkReceivedListener listener) {
276278
@@ -291,17 +293,17 @@ public void handleConnection(InputStream is, OutputStream os,
291293
292294 this.handleASAPInterest((ASAP_Interest_PDU_1_0) asapPDU, protocol, os);
293295 }
294- catch (Exception ioe ) {
296+ catch(Exception e ) {
295297 //<<<<<<<<<<<<<<<<<<debug
296298 StringBuilder b = new StringBuilder();
297299 b.append(this.getLogStart());
298- b .append ("IOEXception : " );
299- b .append (ioe .getLocalizedMessage ());
300+ b.append("Exception : ");
301+ b.append(e .getLocalizedMessage());
300302 System.out.println(b.toString());
301303 //>>>>>>>>>>>>>>>>>>>debug
302304 }
303305 }
304-
306+ */
305307 public void handleASAPOffer (ASAP_OfferPDU_1_0 asapOffer , ASAP_1_0 protocol , OutputStream os )
306308 throws ASAPException , IOException {
307309
0 commit comments