It confuses me now as I found also this in the sources:
publicvoidrejectStream(finalStreamInitiationsi)throwsNotConnectedException{
XMPPErrorerror=newXMPPError(XMPPError.Condition.forbidden,"Offer Declined");
IQiqPacket=IQ.createErrorResponse(si,error);
connection().sendPacket(iqPacket);
}
This is strange.
Seems, two methods are there for rejecting.