code style
This commit is contained in:
@@ -5,10 +5,10 @@ import com.mogo.commons.debug.DebugConfig;
|
||||
|
||||
public class WebSocketConstant {
|
||||
|
||||
private static final String HOST_DEV = "ws://62.234.196.121:14001/ws";
|
||||
private static final String HOST_QA = "ws://62.234.196.121:14001/ws";
|
||||
private static final String HOST_DEMO = "ws://62.234.196.121:14001/ws";
|
||||
private static final String HOST_RELEASE = "ws://62.234.196.121:14001/ws";
|
||||
private static final String HOST_DEV = "ws://62.234.196.121:4001/ws";
|
||||
private static final String HOST_QA = "ws://62.234.196.121:4001/ws";
|
||||
private static final String HOST_DEMO = "ws://62.234.196.121:4001/ws";
|
||||
private static final String HOST_RELEASE = "ws://62.234.196.121:4001/ws";
|
||||
|
||||
public static String getSocketServer(){
|
||||
switch (DebugConfig.getNetMode()){
|
||||
|
||||
@@ -143,7 +143,7 @@ public class WebSocketManager implements IMogoWebSocketManager, ISocketMsgSettin
|
||||
while (iterator.hasNext()) {
|
||||
IMogoOnWebSocketMessageListener listener = iterator.next();
|
||||
if (listener != null) {
|
||||
Logger.d(TAG, "received msgId = "+webSocketData.getSeq()+", content = "+webSocketData.getT().toString());
|
||||
Logger.d(TAG, "received msgId = " + webSocketData.getSeq() + ", content = " + webSocketData.getT().toString());
|
||||
listener.onMsgReceived(webSocketData.getT());
|
||||
}
|
||||
}
|
||||
@@ -159,7 +159,7 @@ public class WebSocketManager implements IMogoWebSocketManager, ISocketMsgSettin
|
||||
|
||||
@Override
|
||||
public void handleError(Exception e) {
|
||||
Logger.e(TAG, "websocket handleError :" + e.getMessage());
|
||||
Logger.e(TAG, "websocket handleError : " + e.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user