src/net/java/sip/communicator/impl/packetlogging/PacketLoggingServiceImpl.java
/**
     * Log a packet with all the required information.
     *
     * @param protocol the source protocol that logs this packet.
     * @param sourceAddress the source address of the packet.
     * @param sourcePort the source port of the packet.
     * @param destinationAddress the destination address.
     * @param destinationPort the destination port.
     * @param transport the transport this packet uses.
     * @param sender are we the sender of the packet or not.
     * @param packetContent the packet content.
     */
Log a packet with all the required information.
@param protocol the source protocol that logs this packet.
@param sourceAddress the source address of the packet.
@param sourcePort the source port of the packet.
@param destinationAddress the destination address.
@param destinationPort the destination port.
@param transport the transport this packet uses.
@param sender are we the sender of the packet or not.
@param packetContent the packet content.
Log a packet with all the required information . @param protocol the source protocol that logs this packet . @param sourceAddress the source address of the packet . @param sourcePort the source port of the packet . @param destinationAddress the destination address . @param destinationPort the destination port . @param transport the transport this packet uses . @param sender are we the sender of the packet or not . @param packetContent the packet content .
public void logPacket(
            ProtocolName protocol,
            byte[] sourceAddress, int sourcePort,
            byte[] destinationAddress, int destinationPort,
            TransportName transport,
            boolean sender,
            byte[] packetContent)
    {
        this.logPacket(protocol, sourceAddress, sourcePort,
                destinationAddress, destinationPort,
                transport, sender,
                packetContent, 0, packetContent.length);
    }
public void logPacket ( ProtocolName protocol , byte [ ] sourceAddress , int sourcePort , byte [ ] destinationAddress , int destinationPort , TransportName transport , boolean sender , byte [ ] packetContent ) { this . logPacket ( protocol , sourceAddress , sourcePort , destinationAddress , destinationPort , transport , sender , packetContent , 0 , packetContent . length ) ; }
Log a packet with all the required information.
Log a packet with all the required information .