if (isClient()) {
_multiplexer = createMultiplexer(_endpoint, _principal);
} else {
_multiplexer = createMultiplexer(_endpoint, _authenticator);
_principal = _multiplexer.getPrincipal();
_caller = new CallerImpl(getRemoteURI(), getLocalURI());
}
String name = getDisplayName() + "-Multiplexer";
_multiplexThread = new Thread(getThreadGroup(), _multiplexer,
name);
_multiplexThread.start();