001package jmri.jmrix.ipocs; 002 003import jmri.jmrix.ipocs.protocol.Message; 004 005/** 006 * 007 * @author Fredrik Elestedt Copyright (C) 2020 008 * @since 4.21.2 009 */ 010public interface IpocsClientListener { 011 String getUserName(); 012 void clientConnected(IpocsClientHandler client); 013 void clientDisconnected(IpocsClientHandler client); 014 void onMessage(IpocsClientHandler client, Message msg); 015}