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
Show file Open project: autocompaste/AutoComPaste Class Usage Examples

Public Methods

Method 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

Method Description
invokeRemote ( Operation operation ) : OperationResult

Method Details

checkServerAlive() public method

public checkServerAlive ( ) : bool
return bool

chooseSuggestion() public method

public chooseSuggestion ( Suggestion suggestion ) : void
suggestion ACPAddIn.Object_Class.Suggestion
return void

closeDestinationDocument() public method

public closeDestinationDocument ( int id ) : void
id int
return void

getFilePath() public method

public getFilePath ( ) : String
return String

requestExtendSuggestion() public method

public requestExtendSuggestion ( int id, int type ) : List
id int
type int
return List

requestSuggestion() public method

public requestSuggestion ( String userInput, System.Boolean autoTrigger ) : List
userInput String
autoTrigger System.Boolean
return List

setDestinationDocument() public method

public setDestinationDocument ( int id ) : void
id int
return void