* @todo implement functionality to handle Data PDUs.
*/
@Override
public boolean receive (SmppResponseInterface response, long timeout)
{
ServerPDUEvent server = getEventListener ().getDeliverEvent (timeout);
if (server != null) {
PDU pdu = server.getPDU ();
if (pdu instanceof DeliverSM) {
return updateResponse (response, (DeliverSM)(pdu));
}
else if (pdu instanceof DataSM) {
myLog.error ("receive - data message not supported: {}", pdu.debugString ());