if (notifier == null) {
throw new IOException("session closed");
}
if (handler == null) {
throw new NullPointerException("null handler");
}
ObexTransport transport = notifier.acceptAndOpen();
return new ServerConnectionImpl(transport, handler, auth);