src/main/java/org/tinyradius/util/RadiusClient.java
protected RadiusPacket makeRadiusPacket(DatagramPacket packet, RadiusPacket request)
        throws IOException, RadiusException {
        ByteArrayInputStream in = new ByteArrayInputStream(packet.getData());
        return RadiusPacket.decodeResponsePacket(in, getSharedSecret(), request);
    }
/**
     * Creates a RadiusPacket from a received datagram packet.
     *
     * @param packet  received datagram
     * @param request Radius request packet
     * @return RadiusPacket object
     */
Creates a RadiusPacket from a received datagram packet.

@param packet  received datagram
@param request Radius request packet
@return RadiusPacket object
Creates a RadiusPacket from a received datagram packet . @param packet received datagram @param request Radius request packet @return RadiusPacket object
protected RadiusPacket makeRadiusPacket(DatagramPacket packet, RadiusPacket request)
        throws IOException, RadiusException {
        ByteArrayInputStream in = new ByteArrayInputStream(packet.getData());
        return RadiusPacket.decodeResponsePacket(in, getSharedSecret(), request);
    }
protected RadiusPacket makeRadiusPacket ( DatagramPacket packet , RadiusPacket request ) throws IOException , RadiusException { ByteArrayInputStream in = new ByteArrayInputStream ( packet . getData ( ) ) ; return RadiusPacket . decodeResponsePacket ( in , getSharedSecret ( ) , request ) ; }
Creates a RadiusPacket from a received datagram packet.
Creates a RadiusPacket from a received datagram packet .