public void handleOutput() { CMPPPacket packet = (CMPPPacket) m_database.m_output.pop(m_gateway.m_strName); if (packet == null) return; m_gateway.statistic(packet); if (packet.command_id == 4) sgip_output = wrapSubmit((CMPPSubmit) packet); else if (packet.command_id == 0x80000005) sgip_output = wrapDeliverResponse((CMPPDeliverResponse) packet); packet.empty(); packet = null; }