Package com.google.code.or.binlog.impl.event

Examples of com.google.code.or.binlog.impl.event.IncidentEvent


  /**
   *
   */
  public void parse(XInputStream is, BinlogEventV4Header header, BinlogParserContext context)
  throws IOException {
    final IncidentEvent event = new IncidentEvent(header);
    event.setIncidentNumber(is.readInt(1));
    event.setMessageLength(is.readInt(1));
    if(event.getMessageLength() > 0) event.setMessage(is.readFixedLengthString(event.getMessageLength()));
    context.getEventListener().onEvents(event);
  }
View Full Code Here

TOP

Related Classes of com.google.code.or.binlog.impl.event.IncidentEvent

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.