Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

OP_SERVICE_GET_PROXY message format

Request
StringService name
StringInterface name
byte

Flags:

0x01 Sticky flag

0x02 Keep binary flag

longTimeout
intCount of nodes 
N 
selected to invoke service. If this value is 0, no server nodes should be explicitly listed in the message, but all server cluster nodes should be selected. 
UUID * count

Node

ID #1...UUIDNode ID #N

IDs


Response
longresourceId

Resulting resourceId should be used to call the service with OP_SERVICE_INVOKE and to release the proxy with OP_RESOURCE_CLOSE.

...

Request
StringService name
StringInterface name
byte

Flags:

0x01 Keep binary flag

longTimeout
intCount of nodes N selected to invoke service. If this value is 0, no server nodes should be explicitly listed in the message, but all server cluster nodes should be selected. 
UUID

Node ID #1

UUID * count

Node IDs

...UUIDNode ID #N

StringMethod name
int[]Argument type IDs to resolve method (optional, can be NULL, see "service name resolve logic")  
intArgument count
Object * countArguments

...