You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by ni...@apache.org on 2019/08/08 02:15:17 UTC

[servicecomb-pack] 03/10: SCB-1417 add MessagePublisher to core

This is an automated email from the ASF dual-hosted git repository.

ningjiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/servicecomb-pack.git

commit 4c5125cec0bd7ca0438a65456cddde76ca70c2e3
Author: CMonkey <42...@gmail.com>
AuthorDate: Wed Aug 7 10:41:11 2019 +0800

    SCB-1417 add MessagePublisher to core
---
 .../alpha/core/fsm/channel/MessagePublisher.java   | 23 ++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/alpha/alpha-core/src/main/java/org/apache/servicecomb/pack/alpha/core/fsm/channel/MessagePublisher.java b/alpha/alpha-core/src/main/java/org/apache/servicecomb/pack/alpha/core/fsm/channel/MessagePublisher.java
new file mode 100644
index 0000000..a03cfb3
--- /dev/null
+++ b/alpha/alpha-core/src/main/java/org/apache/servicecomb/pack/alpha/core/fsm/channel/MessagePublisher.java
@@ -0,0 +1,23 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.servicecomb.pack.alpha.core.fsm.channel;
+
+public interface MessagePublisher {
+
+    void publish(Object data);
+
+}