log.debug("Message recv...");
if (message instanceof ClientFrameBean) {
SocketAddress remoteAddress = session.getRemoteAddress();
log.debug("Recv Frame Bean ");
ClientViewerScreen.instance.addClientFrameBean((ClientFrameBean) message);
}
if (message instanceof ClientStatusBean) {
ClientStatusBean cBean = (ClientStatusBean) message;
SocketAddress remoteAddress = session.getRemoteAddress();
log.debug("Recv Status Bean "+cBean.getMode());
if (cBean.getMode() == 4) {
if (ClientViewerScreen.instance != null) {
ClientViewerScreen.instance.showWarningPopUp(ClientViewerScreen.instance.label736);
ClientViewerScreen.instance.alreadyClosedWarning = true;
ClientTransportMinaPool.closeSession();
}
}
}
if (message instanceof ClientCursorStatus) {
ClientCursorStatus clientCursorStatus = (ClientCursorStatus) message;
SocketAddress remoteAddress = session.getRemoteAddress();
log.debug("Recv Status Bean "+clientCursorStatus.getMode());
ClientViewerScreen.instance.updateCursor(clientCursorStatus);