throw new IllegalArgumentException("authCode is null");
}
if (messageHandler == null) {
throw new IllegalArgumentException("messageHandler is null");
}
configuration.setMessageHandler(new MessageHandler() {
public void handleMessage(final Connection connection, final InputStream dataStream) throws IOException {
final ProcessControllerClient client = (ProcessControllerClient) connection.getAttachment();
final int cmd = readUnsignedByte(dataStream);
switch (cmd) {
case Protocol.PROCESS_ADDED: {