Package marauroa.common.net.message

Examples of marauroa.common.net.message.MessageS2CInvalidMessage


          }
        } catch (InvalidVersionException e) {
          logger.warn("Invalid version message: \n" + Utility.dumpByteArray(event.data), e);
          logger.warn("sender was: " + event.channel.socket().getRemoteSocketAddress());
          stats.add("Message invalid version", 1);
          MessageS2CInvalidMessage invMsg = new MessageS2CInvalidMessage(event.channel, "Invalid client version: Update client");
          invMsg.setProtocolVersion(e.getProtocolVersion());
          sendMessage(invMsg);
        } catch (IOException e) {
          logger.warn("IOException while building message:\n" + Utility.dumpByteArray(event.data), e);
          logger.warn("sender was: " + event.channel.socket().getRemoteSocketAddress());
        } catch (RuntimeException e) {
View Full Code Here

TOP

Related Classes of marauroa.common.net.message.MessageS2CInvalidMessage

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.