Ruyi SDK
Namespaces
Ruyi.Layer0
ServiceHelper Class
ServiceHelper Methods
ExistForwarder Method
ExistWorker Method
ForwarderID Method
FromServiceIDStr Method
IsLayer1Service Method
IsSplitter Method
PubChannelID Method
ServiceID Method
ShortString Method
WorkerID Method
Click or drag to resizeClick or drag to resize

ServiceHelper Methods

[This is preliminary documentation and is subject to change.]

The ServiceHelper type exposes the following members.

Methods
  NameDescription
Public methodStatic memberExistForwarder
if the service exist
Public methodStatic memberExistWorker
if the service exist
Public methodStatic memberForwarderID
forwarder ID of the service
Public methodStatic memberFromServiceIDStr
service ID from string
Public methodStatic memberIsLayer1Service
if the service belongto layer1
Public methodStatic memberIsSplitter
if the service is a splitter service
Public methodStatic memberPubChannelID
the service publish to topic
Public methodStatic memberServiceID
string convertion of service ID
Public methodStatic memberShortString
short string of the service
Public methodStatic memberWorkerID
work ID of the service Notice: we treat worker and service as the same mostly in layer0 because currently one service only got one worker.
Top
See Also

Reference

ServiceHelper Class
Ruyi.Layer0 Namespace

Copyright ©Zhongshan Subor Advanced Technology Co., Ltd. 2017-2018, All right reserved

Send comments on this topic to dev-support@playruyi.com