_broker = broker;
_port = port;
_transport = transport;
_conn = conn;
_connectionId = connectionId;
_subject.getPrincipals().add(new ConnectionPrincipal(this));
_subjectCreator = subjectCreator;
_messageDeliveryStatistics = new StatisticsCounter("messages-delivered-" + getConnectionId());
_dataDeliveryStatistics = new StatisticsCounter("data-delivered-" + getConnectionId());
_messageReceiptStatistics = new StatisticsCounter("messages-received-" + getConnectionId());
_dataReceiptStatistics = new StatisticsCounter("data-received-" + getConnectionId());