WebSocket Impl code style

This commit is contained in:
unknown
2020-10-27 10:15:20 +08:00
parent 19c4859a71
commit c2fb78ee09

View File

@@ -5,9 +5,13 @@ package com.mogo.service.connection;
*/
public interface IMogoOnWebSocketMessageListener< T > {
WebSocketMsgType getDownLinkType();
default WebSocketMsgType getDownLinkType(){
return null;
}
WebSocketMsgType getUpLinkType();
default WebSocketMsgType getUpLinkType(){
return null;
}
default void onMsgReceived(T obj){