Annotation Type RPC
-
@Documented @Target(METHOD) @Retention(RUNTIME) public @interface RPC
Indicate that annotated method is used as D2000 RPC.
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.String
name
Indicate formal name of RPC.
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description boolean
asynchronous
Indicate that RPC is either synchronous or asynchronous.ConversationBeginType
conversationBegin
Indicate that RPC is used to begin RPC conversation.boolean
conversationEnd
Indicate that RPC is used to end RPC conversation.java.lang.String
interfaceName
Indicate that RPC is implementation of RPC defined in named ESL Interface object.Parameter[]
parameters
Indicate formal parameters of RPC.boolean
useJava
Indicate 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:
- {}
-
-