}
@WebMethod
public void FPDUReception(FPDU fpdu) {
ConnectionWS currentConnectionWS = new ConnectionWS();
OutputConnectionWS outputToSend = null;
try {
outputToSend = currentConnectionWS.FPDUReception(fpdu);
} catch (Exception e) {
e.printStackTrace();
}
if (outputToSend == null) {
// TODO : raise exception
}
// If fpdu need to be sent
if (outputToSend.isHandleFPDU()) {
FPDU fpduToSend = outputToSend.getFpdu();
// Send FPDU to the interserver
if (!sendFPDU(fpduToSend)) {
// If sendFPDU fail then return false
// : TODO : raise Exception or return false
}