public SessionID getSessionID() { return session.getSessionID(); }
private MessageDispatchingThread(Session session, int queueCapacity, Executor executor) { super("QF/J Session dispatcher: " + session.getSessionID(), executor); quickfixSession = session; messages = new LinkedBlockingQueue<>(queueCapacity); }
public void addDynamicSession(Session inSession) { sessions.put(inSession.getSessionID(), inSession); log.debug("adding session for {}", inSession.getSessionID()); propertyChangeSupport.firePropertyChange(SESSIONS_PROPERTY, null, sessions); }
public void acceptSession(Session session) { acceptedSessions.put(session.getSessionID(), session); }
static void registerSession(Session session) { sessions.put(session.getSessionID(), session); }
public void addDynamicSession(Session inSession) { sessions.put(inSession.getSessionID(), inSession); log.debug("adding session for " + inSession.getSessionID()); propertyChangeSupport.firePropertyChange(SESSIONS_PROPERTY, null, sessions); }
public void addDynamicSession(Session inSession) { sessions.put(inSession.getSessionID(), inSession); log.debug("adding session for {}", inSession.getSessionID()); propertyChangeSupport.firePropertyChange(SESSIONS_PROPERTY, null, sessions); }
public String getSenderSubID() { return session.getSessionID().getSenderSubID(); }
public String getSessionID() { return session.getSessionID().toString(); }
public String getSenderCompID() { return session.getSessionID().getSenderCompID(); }
public String getSenderLocationID() { return session.getSessionID().getSenderLocationID(); }
public String getTargetCompID() { return session.getSessionID().getTargetCompID(); }
public String getTargetLocationID() { return session.getSessionID().getTargetLocationID(); }
public void processMessage() { try { quickfixSession.next(message); } catch (Throwable e) { LogUtil.logThrowable(quickfixSession.getSessionID(), e.getMessage(), e); } } }
public void processMessage() { try { quickfixSession.next(message); } catch (Throwable e) { LogUtil.logThrowable(quickfixSession.getSessionID(), e.getMessage(), e); } } }
public void processMessage() { try { quickfixSession.next(message); } catch (Throwable e) { LogUtil.logThrowable(quickfixSession.getSessionID(), e.getMessage(), e); } } }
private ApplVerID getApplVerID(Session session, Message message) { String beginString = session.getSessionID().getBeginString(); if (FixVersions.BEGINSTRING_FIXT11.equals(beginString)) { return new ApplVerID(ApplVerID.FIX50); } else { return MessageUtils.toApplVerID(beginString); } }
public void resetSequence(int nextSeqNum) throws SessionNotFound { logInvocation("resetSequence to: " + nextSeqNum); Message sequenceReset = new Message(); sequenceReset.getHeader().setField(new MsgType(MsgType.SEQUENCE_RESET)); sequenceReset.setField(new NewSeqNo(nextSeqNum)); doSend(sequenceReset, session.getSessionID()); }
public void resetSequence(int nextSeqNum) throws SessionNotFound { logInvocation("resetSequence to: " + nextSeqNum); Message sequenceReset = new Message(); sequenceReset.getHeader().setField(new MsgType(MsgType.SEQUENCE_RESET)); sequenceReset.setField(new NewSeqNo(nextSeqNum)); doSend(sequenceReset, session.getSessionID()); }
public void resetSequence(int nextSeqNum) throws SessionNotFound { logInvocation("resetSequence to: " + nextSeqNum); Message sequenceReset = new Message(); sequenceReset.getHeader().setField(new MsgType(MsgType.SEQUENCE_RESET)); sequenceReset.setField(new NewSeqNo(nextSeqNum)); doSend(sequenceReset, session.getSessionID()); }