[ 
https://issues.apache.org/jira/browse/IGNITE-1680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15783242#comment-15783242
 ] 

Igor Sapego commented on IGNITE-1680:
-------------------------------------

Vladimir,

1) Ok, already done.
2) Yeah, that's how it's implemented currently.
3) I like {{IgniteRpc}} the best. Is that OK with you?
4) I will think about it though I would not put such API in public just yet. We 
can always add it in future, once we need it and once we have better 
understanding of what should it be.
5) Do you mean specifying classes/functions in text form that should be called 
upon some event later? No, it's not possible. At least, there is no standard 
way to do that, because C++ does not provide reflection and don't even have 
standardized ABI to write any meaningful workaround code. We can force user to 
declare functions in specific way so that later we are going to be able to find 
and call them in runtime (this is the case with the {{IgniteModuleInit}} 
function - its name actually *can* be specified in textual form in 
configuration file), but we can not do the same with class methods. More than 
that, methods can be virtual and there is no standard ways to store vtable for 
class.

> CPP: Implement basic API for user entry point lookup
> ----------------------------------------------------
>
>                 Key: IGNITE-1680
>                 URL: https://issues.apache.org/jira/browse/IGNITE-1680
>             Project: Ignite
>          Issue Type: Task
>          Components: platforms
>    Affects Versions: 1.1.4
>            Reporter: Igor Sapego
>            Assignee: Igor Sapego
>              Labels: cpp, roadmap
>             Fix For: 2.0
>
>
> Need to implement IgniteCompute class for C++ with one basic method 
> IgniteCompute::Call(...) which will provide basic remote job execution API.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to