return (ProtocolData[])mProtocolStack.toArray(new ProtocolData[mProtocolStack.size()]);
return mProtocolStack.toArray(new ProtocolData[mProtocolStack.size()]);
    public ProtocolData[] getProtocolStack() {        return (ProtocolData[])mProtocolStack.toArray(new ProtocolData[mProtocolStack.size()]);    }