Package com.bytedesk.core.message
Class MessageSendServiceImpl
java.lang.Object
com.bytedesk.core.message.MessageSendServiceImpl
- All Implemented Interfaces:
IMessageSendService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
sendJsonMessage
(String json) void
sendProtobufMessage
(MessageProtobuf messageProtobuf)
-
Constructor Details
-
MessageSendServiceImpl
public MessageSendServiceImpl()
-
-
Method Details
-
sendJsonMessage
@BlackIpFilter(title="black", action="sendJsonMessage") @BlackUserFilter(title="black", action="sendJsonMessage") @TabooJsonFilter(title="taboo", action="sendJsonMessage") public void sendJsonMessage(String json) - Specified by:
sendJsonMessage
in interfaceIMessageSendService
-
sendProtobufMessage
@BlackIpFilter(title="black", action="sendProtobufMessage") @BlackUserFilter(title="black", action="sendProtobufMessage") @TabooProtobufFilter(title="taboo", action="sendProtobufMessage") public void sendProtobufMessage(MessageProtobuf messageProtobuf) - Specified by:
sendProtobufMessage
in interfaceIMessageSendService
-
publishMessageJsonEvent
-