Annotation Type RPC
-
@Documented @Target(METHOD) @Retention(RUNTIME) public @interface RPCIndicate that annotated method is used as D2000 RPC.
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.StringnameIndicate formal name of RPC.
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description booleanasynchronousIndicate that RPC is either synchronous or asynchronous.ConversationBeginTypeconversationBeginIndicate that RPC is used to begin RPC conversation.booleanconversationEndIndicate that RPC is used to end RPC conversation.java.lang.StringinterfaceNameIndicate that RPC is implementation of RPC defined in named ESL Interface object.Parameter[]parametersIndicate formal parameters of RPC.booleanuseJavaIndicate whether RPC is implemented in D2000 internal Java (true) or in ESL (false) or in JAPI Session (false).
-
-
-
-
conversationBegin
ConversationBeginType conversationBegin
Indicate that RPC is used to begin RPC conversation.Only asynchronous RPCs of EventProxies and EventWrappers are allowed to begin RPC conversations.
- Returns:
- type of conversation begin
- Default:
- sk.ipesoft.d2000.d2japi.annotations.ConversationBeginType.none
-
-
-
interfaceName
java.lang.String interfaceName
Indicate that RPC is implementation of RPC defined in named ESL Interface object. Empty name indicates that no ESL Interface is involved.Only RPCs of EventProxies and ConversationsContexts implemented in ESL are allowed to implement RPCs defined in ESL Interfaces.
- Returns:
- formal name of ESL interface
- Default:
- ""
-
-
-
parameters
Parameter[] parameters
Indicate formal parameters of RPC.- Returns:
- list of formal parameters
- Default:
- {}
-
-