#include "stdafx.h" #include "mod_IDCertificate.h" void IDCertServerSession::Handle_CancelRead(SpOnewayCallContext::Pointer ctx) { DbgToBeidou(ctx->link, __FUNCTION__)(); DbgWithLink(LOG_LEVEL_INFO, ctx->link.checkEmpty() ? LOG_TYPE_SYSTEM : LOG_TYPE_USER).setAPI(__FUNCTION__)("Handle_CancelRead"); m_pEntity->CancelRead(ctx); } void IDCertServerSession::Handle_CancelReadJS(SpReqAnsContext::Pointer ctx) { DbgToBeidou(ctx->link, __FUNCTION__)(); LOG_FUNCTION(); DbgWithLink(LOG_LEVEL_INFO, ctx->link.checkEmpty() ? LOG_TYPE_SYSTEM : LOG_TYPE_USER).setAPI(__FUNCTION__)("Handle_CancelReadJS"); m_pEntity->CancelReadJS(ctx); } void IDCertServerSession::Handle_Exit(SpOnewayCallContext::Pointer ctx) { DbgToBeidou(ctx->link, __FUNCTION__)(); DbgWithLink(LOG_LEVEL_INFO, ctx->link.checkEmpty() ? LOG_TYPE_SYSTEM : LOG_TYPE_USER).setAPI(__FUNCTION__)("Handle_Exit"); m_pEntity->Exit(ctx); } void IDCertServerSession::Handle_GetDevInfo(SpReqAnsContext::Pointer ctx) { DbgToBeidou(ctx->link, __FUNCTION__)(); DbgWithLink(LOG_LEVEL_INFO, ctx->link.checkEmpty() ? LOG_TYPE_SYSTEM : LOG_TYPE_USER).setAPI(__FUNCTION__)("Handle_GetDevInfo"); m_pEntity->GetDevInfo(ctx); } void IDCertServerSession::Handle_ReadAndScanUTF8(SpReqAnsContext::Pointer ctx) //ex1 { DbgToBeidou(ctx->link, __FUNCTION__)(); LOG_FUNCTION(); DbgWithLink(LOG_LEVEL_INFO, ctx->link.checkEmpty() ? LOG_TYPE_SYSTEM : LOG_TYPE_USER).setAPI(__FUNCTION__)("Handle_ReadAndScanUTF8"); m_pEntity->ReadAndScanUTF8(ctx); } void IDCertServerSession::Handle_ReadAndScanUTF8JS(SpReqAnsContext::Pointer ctx) //ex1 { DbgToBeidou(ctx->link, __FUNCTION__)(); LOG_FUNCTION(); DbgWithLink(LOG_LEVEL_INFO, ctx->link.checkEmpty() ? LOG_TYPE_SYSTEM : LOG_TYPE_USER).setAPI(__FUNCTION__)("Handle_ReadAndScanUTF8JS"); m_pEntity->ReadAndScanUTF8JS(ctx); } SP_BEGIN_ENTITY_MAP() SP_ENTITY(CIDCertEntity) SP_END_ENTITY_MAP()