@Override
    public List<Channel> getChannels()
    {
        List<Channel> channels = new LinkedList<>();
        if (_acceptingParty != null)
            channels.add(_acceptingParty);
        if (_originatingParty != null)
            channels.add(_originatingParty);
        if (_transferTargetParty != null)
            channels.add(_transferTargetParty);
        return channels;
    }
@ Override public List < Channel > getChannels ( ) { List < Channel > channels = new LinkedList < > ( ) ; if ( _acceptingParty != null ) channels . add ( _acceptingParty ) ; if ( _originatingParty != null ) channels . add ( _originatingParty ) ; if ( _transferTargetParty != null ) channels . add ( _transferTargetParty ) ; return channels ; }
Returns all of the Channels associated with this call.