if ($this->getPackageInstance()->isNewPackageArrived()) {
// Okay, then handle newly arrived package
$this->getPackageInstance()->handleNewlyArrivedPackage();
- } elseif ($this->getPackageInstance()->ifAssemblerHasPendingDataLeft()) {
- // Okay, handle it here
- $this->getPackageInstance()->handleAssemblerPendingData();
} elseif ($this->getPackageInstance()->isIncomingDecodedDataHandled()) {
/*
* We have handled decoded data so we should validate it, if we have
} elseif ($this->getPackageInstance()->isNewRawDataPending($this->getListenerPoolInstance())) {
// We have to handle raw data from the socket
$this->getPackageInstance()->handleIncomingDecodedData();
+ } elseif ($this->getPackageInstance()->ifAssemblerHasPendingDataLeft()) {
+ // Okay, handle it here
+ $this->getPackageInstance()->handleAssemblerPendingData();
} // END - if
}
}