Ruyi SDK
Namespaces
Ruyi.Layer0
ServiceHelper Class
ServiceHelper Methods
Click or drag to resizeClick or drag to resize

ServiceHelper Class

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

service Helper class
Inheritance Hierarchy
SystemObject
  Ruyi.Layer0ServiceHelper

Namespace:  Ruyi.Layer0
Assembly:  SDK.Base.nf2.0 (in SDK.Base.nf2.0.dll) Version: 0.9.3.3995 (0.9.3.3995)
Syntax
C#
Copy
public static class ServiceHelper

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

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