@Override
	public void writeTraceEvent(String traceLine, HostPort hostPort) {
		if (getTraceFilter().matches(traceLine)) {
			  try {
				  ITraceEvent te = getEventParser().createEvent(traceLine,0);
				  te.setAgentHostName(hostPort.hostNameOrIpAddress);
				  te.setAgentPort((short) hostPort.port);
				  if (getTraceFilterExt().matches(te)) {
					  LOG.debug("From raw data [" + traceLine + "] adding parsed event to request separator [" + te.toString() + "]");
					  getRequestSeparator().add(te);
				  }
			} catch (Exception e) {
				e.printStackTrace();
			} catch (IntraceException e) {
				e.printStackTrace();
			}
		}

	}