class NettyPoolKey {

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("transactionRole:");
        sb.append(transactionRole.name());
        sb.append(",");
        sb.append("address:");
        sb.append(address);
        sb.append(",");
        sb.append("msg:< ");
        sb.append(message.toString());
        sb.append(" >");
        return sb.toString();
    }

    public  NettyPoolKey(TransactionRole transactionRole, String address);
    public  NettyPoolKey(TransactionRole transactionRole, String address, AbstractMessage message);

}