C# 클래스 MessageGears.MessageGearsActivityFileProcessor

This class is used to process the daily account activity files from MessageGears. This method is often used in place of the real-time event feed if receiving your activity data in real-time is not a requirement for your business.
파일 보기 프로젝트 열기: messagegears/messagegears-csharp-sdk

공개 메소드들

메소드 설명
MessageGearsActivityFileProcessor ( MessageGearsListener listener ) : System

Use to construct an instance of the ActivityFileProcessor class.

process ( String filename ) : void

Starts the parsing of the activity XML file retrieved from MessageGears. Once invoked, the methods in the listener instance will be fired for each item in the activity file.

비공개 메소드들

메소드 설명
isActivityElement ( String elementName ) : bool
processElement ( String elementType, String xml ) : void

메소드 상세

MessageGearsActivityFileProcessor() 공개 메소드

Use to construct an instance of the ActivityFileProcessor class.
public MessageGearsActivityFileProcessor ( MessageGearsListener listener ) : System
listener MessageGearsListener /// Your implementation of the MessageGearsListener interface that know what to do with each event type that can come back from the MessageGears system. ///
리턴 System

process() 공개 메소드

Starts the parsing of the activity XML file retrieved from MessageGears. Once invoked, the methods in the listener instance will be fired for each item in the activity file.
public process ( String filename ) : void
filename String /// The fully qualified name of the file to be processed. ///
리턴 void