Package jpower.socket.exception

Examples of jpower.socket.exception.InvalidEventException


            } else if (event instanceof LineSentEvent) {
                handler.onLineSent((LineSentEvent) event);
            } else if (event instanceof LineReceivedEvent) {
                handler.onLineReceived((LineReceivedEvent) event);
            } else {
                handler.onError(new ErrorEvent(0, new InvalidEventException("JPowerSocket found an invalid event when trying to dispatch the event of type: " + event.getClass().getName()), powerSocket));
            }
            handler.onEvent(event);
        }
View Full Code Here

TOP

Related Classes of jpower.socket.exception.InvalidEventException

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.