/// <summary> /// /// </summary> public MessageHandler(PipelineHandler handler) : base(handler) { EncoderMap.Add("send_tomessage", SendToMessageEncode); EncoderMap.Add("send_corpmessage", SendCorpMessageEncode); DecoderMap.Add("send_tomessage", SendToMessageDecode); DecoderMap.Add("send_corpmessage", SendCorpMessageDecode); }
/// <summary> /// /// </summary> public CspaceHandler(PipelineHandler handler) : base(handler) { EncoderMap.Add("single_upload", SingleUploadEncode); EncoderMap.Add("add_to_single_chat", AddToSingleChatEncode); DecoderMap.Add("single_upload", SingleUploadDecode); DecoderMap.Add("add_to_single_chat", AddToSingleChatDecode); }
/// <summary> /// /// </summary> public WorkerHandler(PipelineHandler handler) : base(handler) { EncoderMap.Add("workrecord_add", WorkRecordAddEncode); EncoderMap.Add("workrecord_update", WorkRecordUpdateEncode); EncoderMap.Add("processinstance_create", ProcessInstanceCreateEncode); DecoderMap.Add("workrecord_add", WorkRecordAddDecode); DecoderMap.Add("workrecord_update", WorkRecordUpdateDecode); DecoderMap.Add("processinstance_create", ProcessInstanceCreateDecode); }
/// <summary> /// /// </summary> public ContactHandler(PipelineHandler handler) : base(handler) { EncoderMap.Add("user_create", UserCreateEncode); DecoderMap.Add("user_create", UserCreateDecode); EncoderMap.Add("department_get", DepartmentGetEncode); EncoderMap.Add("department_list", DepartmentListEncode); EncoderMap.Add("department_create", DepartmentCreateEncode); EncoderMap.Add("get_org_user_count", GetUserCountEncode); EncoderMap.Add("get_dept_nember_ids", GetDeptMemberIdsEncode); EncoderMap.Add("get_dept_nember_list", GetDeptMemberListEncode); EncoderMap.Add("get_dept_nember_simple", GetDeptMemberSimpleEncode); DecoderMap.Add("department_get", DepartmentGetDecode); DecoderMap.Add("department_list", DepartmentListDecode); DecoderMap.Add("department_create", DepartmentCreateDecode); DecoderMap.Add("get_org_user_count", GetUserCountDecode); DecoderMap.Add("get_dept_nember_ids", GetDeptMemberIdsDecode); DecoderMap.Add("get_dept_nember_list", GetDeptMemberListDecode); DecoderMap.Add("get_dept_nember_simple", GetDeptMemberSimpleDecode); }
/// <summary> /// /// </summary> public MediaHandler(PipelineHandler handler) : base(handler) { EncoderMap.Add("upload", MediaUploadEncode); DecoderMap.Add("upload", MediaUploadDecode); }