in proton-j/src/main/java/org/apache/qpid/proton/codec/transport/AttachType.java [82:119]
public Object get(final int index)
{
switch(index)
{
case 0:
return _attach.getName();
case 1:
return _attach.getHandle();
case 2:
return _attach.getRole().getValue();
case 3:
return _attach.getSndSettleMode().getValue();
case 4:
return _attach.getRcvSettleMode().getValue();
case 5:
return _attach.getSource();
case 6:
return _attach.getTarget();
case 7:
return _attach.getUnsettled();
case 8:
return _attach.getIncompleteUnsettled();
case 9:
return _attach.getInitialDeliveryCount();
case 10:
return _attach.getMaxMessageSize();
case 11:
return _attach.getOfferedCapabilities();
case 12:
return _attach.getDesiredCapabilities();
case 13:
return _attach.getProperties();
}
throw new IllegalStateException("Unknown index " + index);
}