simulator0.setPduProcessor(null);
try {
// try {
// create the requests and response we plan on sending
EnquireLink el0 = new EnquireLink();
EnquireLink el1 = new EnquireLink();
EnquireLink el2 = new EnquireLink();
EnquireLink el3 = new EnquireLink();
el0.setSequenceNumber(0x7000);
el1.setSequenceNumber(0x4541);
el2.setSequenceNumber(0x5414);
el3.setSequenceNumber(0x2414);
EnquireLinkResp el0Resp = el0.createResponse();
EnquireLinkResp el1Resp = el1.createResponse();
EnquireLinkResp el2Resp = el2.createResponse();
EnquireLinkResp el3Resp = el3.createResponse();
// this request should be permitted (with window size = 2)
WindowFuture future0 = session.sendRequestPdu(el0, 3000, true);
WindowFuture future1 = session.sendRequestPdu(el1, 3000, true);
WindowFuture future2 = session.sendRequestPdu(el2, 3000, true);