@Override
public void init(final ServerConnection serverConnection, final ProtocolHeader hdr)
{
assertState(serverConnection, ConnectionState.INIT);
serverConnection.send(new ProtocolHeader(1, 0, 10));
Map<String,Object> props = Collections.emptyMap();
for(ConnectionPropertyEnricher enricher : _port.getConnectionPropertyEnrichers())
{
props = enricher.addConnectionProperties(serverConnection.getAmqpConnection(), props);
}
serverConnection.sendConnectionStart(props, _mechanisms, Collections.singletonList((Object)"en_US"));
_state = ConnectionState.AWAIT_START_OK;
}