WebSocket Impl code style
This commit is contained in:
@@ -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){
|
||||
|
||||
|
||||
Reference in New Issue
Block a user