userEvent

userEvent(listener: JadeMultiWorkerTcpTransport input;
          conn:     JadeMultiWorkerTcpConnection input;
          tag:      Integer);

The JadeMultiWorkerTcpConnection class causeUserEvent method or the JadeMultiWorkerTcpTransport class causeUserEventOnConnId method queues a UserEvent connection event that is delivered via the userEvent callback method in your implementation of the JadeMultiWorkerTcpTransportIF interface.

The listener parameter is populated with the transport object and the conn parameter with the connection associated with the event.

The tag parameter is the Integer value that was passed to the JadeMultiWorkerTcpConnection class causeUserEvent method or JadeMultiWorkerTcpTransport class causeUserEventOnConnId method.

Only the most recent user event is delivered. When a new user event is queued, the previous undelivered user event is discarded.