To be clearer my question is, how get an instance of the class PDUv1 starting from the method getPDU() of the class CommandResponderEvent . because I receives PDUv1 trap and I must use the methods of this class. thank's