修改异常

This commit is contained in:
xinfengkun
2022-03-14 17:38:45 +08:00
parent e7660368a4
commit e19ff59a89
2 changed files with 6 additions and 6 deletions

View File

@@ -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'
}

View File

@@ -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");
}