C# Class ACPAddIn.Client

This class hide the underlying network components to the upper layer. It provide a set of logic function to call, and each call will trigger a network request to call the same function in Java ACP under ACPLogic class. Author: Loke Yan Hao
Afficher le fichier Open project: autocompaste/AutoComPaste Class Usage Examples

Méthodes publiques

Méthode Description
checkServerAlive ( ) : bool
chooseSuggestion ( Suggestion suggestion ) : void
closeDestinationDocument ( int id ) : void
getFilePath ( ) : String
requestExtendSuggestion ( int id, int type ) : List
requestSuggestion ( String userInput, System.Boolean autoTrigger ) : List
setDestinationDocument ( int id ) : void

Private Methods

Méthode Description
invokeRemote ( Operation operation ) : OperationResult

Method Details

checkServerAlive() public méthode

public checkServerAlive ( ) : bool
Résultat bool

chooseSuggestion() public méthode

public chooseSuggestion ( Suggestion suggestion ) : void
suggestion ACPAddIn.Object_Class.Suggestion
Résultat void

closeDestinationDocument() public méthode

public closeDestinationDocument ( int id ) : void
id int
Résultat void

getFilePath() public méthode

public getFilePath ( ) : String
Résultat String

requestExtendSuggestion() public méthode

public requestExtendSuggestion ( int id, int type ) : List
id int
type int
Résultat List

requestSuggestion() public méthode

public requestSuggestion ( String userInput, System.Boolean autoTrigger ) : List
userInput String
autoTrigger System.Boolean
Résultat List

setDestinationDocument() public méthode

public setDestinationDocument ( int id ) : void
id int
Résultat void