public int size() { return _impl.getAdditionalData() != null ? 2 : 1; } }
public int size() { return _impl.getAdditionalData() != null ? 2 : 1; } }
public int size() { return _impl.getAdditionalData() != null ? 2 : 1; } }
public int size() { return _impl.getAdditionalData() != null ? 2 : 1; } }
public Object get(final int index) { switch(index) { case 0: return _impl.getCode().getValue(); case 1: return _impl.getAdditionalData(); } throw new IllegalStateException("Unknown index " + index); }
public Object get(final int index) { switch(index) { case 0: return _impl.getCode().getValue(); case 1: return _impl.getAdditionalData(); } throw new IllegalStateException("Unknown index " + index); }
public Object get(final int index) { switch(index) { case 0: return _impl.getCode().getValue(); case 1: return _impl.getAdditionalData(); } throw new IllegalStateException("Unknown index " + index); }
public Object get(final int index) { switch(index) { case 0: return _impl.getCode().getValue(); case 1: return _impl.getAdditionalData(); } throw new IllegalStateException("Unknown index " + index); }
@Override public void handleOutcome(org.apache.qpid.proton.amqp.security.SaslOutcome saslOutcome, Binary payload, Void context) { checkRole(Role.CLIENT); for(SaslOutcome outcome : SaslOutcome.values()) { setPending(saslOutcome.getAdditionalData() == null ? null : saslOutcome.getAdditionalData().asByteBuffer()); if(outcome.getCode() == saslOutcome.getCode().ordinal()) { _outcome = outcome; if (_state != SaslState.PN_SASL_IDLE) { _state = classifyStateFromOutcome(outcome); } break; } } _done = true; if(_logger.isLoggable(Level.FINE)) { _logger.fine("Handled outcome: " + this); } if(_saslListener != null) { _saslListener.onSaslOutcome(this, _transport); } }