Ruyi SDK
Namespaces
Ruyi.Layer0
AddressHelper Class
GeneratedTypeCache Class
IPublishEndpoint Interface
ISDKFactory Interface
ISubscribeClient Interface
MessageHandler(T) Delegate
PublisherLogger Class
ServiceHelper Class
ServiceIDs Enumeration
TBinaryProtocolTS Class
ThriftUtil Class
TNamedPipeClientTransportTS Class
TSocketTransportTS Class
TStreamTransportTS Class
TTransportTS Interface
Click or drag to resizeClick or drag to resize

MessageHandlerT Delegate

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

Handler called when pub/sub message is received

Namespace:  Ruyi.Layer0
Assembly:  SDK.BaseAsync (in SDK.BaseAsync.dll) Version: 0.9.3.3995
Syntax
C#
Copy
public delegate void MessageHandler<T>(
	string topic,
	T msg
)
where T : TBase

Parameters

topic
Type: SystemString
The topic.
msg
Type: T
The MSG.

Type Parameters

T
Remarks
See ISubscribeClient
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