public void deliverMessage(MessageDispatch dispatch) { Message m = dispatch.getMessage(); if (m != null) { long endTime = System.currentTimeMillis(); m.setBrokerOutTime(endTime); } protocolManager.send(this, dispatch); }
// throw a WireFormatInfo to the peer public void init() { WireFormatInfo info = wireFormat.getPreferedWireFormatInfo(); protocolManager.send(this, info); }