修改异常
This commit is contained in:
@@ -58,5 +58,5 @@ dependencies {
|
||||
// api "com.zhidao.support.adas:high:1.2.1.2_bate21"
|
||||
implementation 'org.greenrobot:eventbus:3.2.0'
|
||||
implementation 'com.android.support:multidex:1.0.3'
|
||||
implementation 'com.mogo.cloud:telematic:1.3.30'
|
||||
implementation 'com.mogo.cloud:telematic:1.3.31'
|
||||
}
|
||||
|
||||
@@ -722,9 +722,9 @@ public class MainActivity extends AppCompatActivity implements OnAdasListener, O
|
||||
break;
|
||||
}
|
||||
|
||||
NSDNettyManager.getInstance().startNSDNettyServer(this, new NettyServerListener() {
|
||||
NSDNettyManager.getInstance().startNSDNettyServerWithSN(this, new NettyServerListener<MogoProtocolMsg>() {
|
||||
@Override
|
||||
public void onMessageResponseServer(Object msg, Channel channel) {
|
||||
public void onMessageResponseServer(MogoProtocolMsg msg, Channel channel) {
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -739,14 +739,14 @@ public class MainActivity extends AppCompatActivity implements OnAdasListener, O
|
||||
|
||||
@Override
|
||||
public void onChannelConnect(Channel channel) {
|
||||
|
||||
Log.i(TAG,"onChannelConnect channel="+channel.id());
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onChannelDisConnect(Channel channel) {
|
||||
|
||||
Log.i(TAG,"onChannelDisConnect channel="+channel.id());
|
||||
}
|
||||
});
|
||||
},"1234567");
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user