public long reject( final int msgSeqNo, final int refSeqNum, final char[] refMsgType, final int refMsgTypeLength, final int rejectReason, final int sequenceIndex, final int lastMsgSeqNumProcessed) { reject.refMsgType(refMsgType, refMsgTypeLength); reject.text(LOGGED_ON_SESSION_REJECT_REASONS[rejectReason]); return sendReject(msgSeqNo, refSeqNum, rejectReason, sequenceIndex, lastMsgSeqNumProcessed); }
public long reject( final int msgSeqNo, final int refSeqNum, final byte[] refMsgType, final int refMsgTypeLength, final RejectReason reason, final int sequenceIndex, final int lastMsgSeqNumProcessed) { final int rejectReason = reason.representation(); reject.refMsgType(refMsgType, refMsgTypeLength); reject.text(LOGGED_ON_SESSION_REJECT_REASONS[rejectReason]); return sendReject(msgSeqNo, refSeqNum, rejectReason, sequenceIndex, lastMsgSeqNumProcessed); }