From e7f48da684f84f6498ea9c11a55b9ef73a1f3364 Mon Sep 17 00:00:00 2001 From: "Brian S. O'Neill" Date: Mon, 28 Oct 2024 08:55:20 -0700 Subject: [PATCH] Update javadocs. --- docs/javadoc/index-all.html | 4 ++ docs/javadoc/member-search-index.js | 2 +- .../org/cojen/dirmi/Environment.html | 61 +++++++++++++------ .../cojen/dirmi/class-use/Environment.html | 6 ++ 4 files changed, 55 insertions(+), 18 deletions(-) diff --git a/docs/javadoc/index-all.html b/docs/javadoc/index-all.html index 237e8d6..80b95ea 100644 --- a/docs/javadoc/index-all.html +++ b/docs/javadoc/index-all.html @@ -200,6 +200,10 @@

C

Returns a new Environment instance which uses the given Executor.
+
create(Executor, boolean) - Static method in interface org.cojen.dirmi.Environment
+
+
Returns a new Environment instance which uses the given Executor.
+
current() - Static method in interface org.cojen.dirmi.Session
Returns the current thread-local session, which is available to a remote method diff --git a/docs/javadoc/member-search-index.js b/docs/javadoc/member-search-index.js index 698fdbd..7a07b90 100644 --- a/docs/javadoc/member-search-index.js +++ b/docs/javadoc/member-search-index.js @@ -1 +1 @@ -memberSearchIndex = [{"p":"org.cojen.dirmi","c":"Environment","l":"acceptAll(ServerSocket)","u":"acceptAll(java.net.ServerSocket)"},{"p":"org.cojen.dirmi","c":"Environment","l":"acceptAll(ServerSocket, Predicate)","u":"acceptAll(java.net.ServerSocket,java.util.function.Predicate)"},{"p":"org.cojen.dirmi","c":"Environment","l":"acceptAll(ServerSocketChannel)","u":"acceptAll(java.nio.channels.ServerSocketChannel)"},{"p":"org.cojen.dirmi","c":"Environment","l":"acceptAll(ServerSocketChannel, Predicate)","u":"acceptAll(java.nio.channels.ServerSocketChannel,java.util.function.Predicate)"},{"p":"org.cojen.dirmi","c":"Environment","l":"accepted(Socket)","u":"accepted(java.net.Socket)"},{"p":"org.cojen.dirmi","c":"Environment","l":"accepted(SocketAddress, SocketAddress, InputStream, OutputStream)","u":"accepted(java.net.SocketAddress,java.net.SocketAddress,java.io.InputStream,java.io.OutputStream)"},{"p":"org.cojen.dirmi","c":"Environment","l":"accepted(SocketChannel)","u":"accepted(java.nio.channels.SocketChannel)"},{"p":"org.cojen.dirmi","c":"Session","l":"access(Object)","u":"access(java.lang.Object)"},{"p":"org.cojen.dirmi","c":"Serializer","l":"adapt(Object)","u":"adapt(java.lang.Object)"},{"p":"org.cojen.dirmi","c":"Session","l":"addStateListener(BiPredicate, Throwable>)","u":"addStateListener(java.util.function.BiPredicate)"},{"p":"org.cojen.dirmi","c":"SessionAware","l":"attached(Session)","u":"attached(org.cojen.dirmi.Session)"},{"p":"org.cojen.dirmi","c":"Environment","l":"classLoader(ClassLoader)","u":"classLoader(java.lang.ClassLoader)"},{"p":"org.cojen.dirmi","c":"Environment","l":"classResolver(ClassResolver)","u":"classResolver(org.cojen.dirmi.ClassResolver)"},{"p":"org.cojen.dirmi","c":"Environment","l":"close()"},{"p":"org.cojen.dirmi","c":"Session","l":"close()"},{"p":"org.cojen.dirmi","c":"Session.State","l":"CLOSED"},{"p":"org.cojen.dirmi","c":"ClosedException","l":"ClosedException()","u":"%3Cinit%3E()"},{"p":"org.cojen.dirmi","c":"ClosedException","l":"ClosedException(String)","u":"%3Cinit%3E(java.lang.String)"},{"p":"org.cojen.dirmi","c":"ClosedException","l":"ClosedException(String, Throwable)","u":"%3Cinit%3E(java.lang.String,java.lang.Throwable)"},{"p":"org.cojen.dirmi","c":"ClosedException","l":"ClosedException(Throwable)","u":"%3Cinit%3E(java.lang.Throwable)"},{"p":"org.cojen.dirmi","c":"Environment","l":"connect(Class, Object, SocketAddress)","u":"connect(java.lang.Class,java.lang.Object,java.net.SocketAddress)"},{"p":"org.cojen.dirmi","c":"Environment","l":"connect(Class, Object, String, int)","u":"connect(java.lang.Class,java.lang.Object,java.lang.String,int)"},{"p":"org.cojen.dirmi","c":"Connector","l":"connect(Session)","u":"connect(org.cojen.dirmi.Session)"},{"p":"org.cojen.dirmi","c":"Session.State","l":"CONNECTED"},{"p":"org.cojen.dirmi","c":"Session","l":"connected(Socket)","u":"connected(java.net.Socket)"},{"p":"org.cojen.dirmi","c":"Session","l":"connected(SocketAddress, SocketAddress, InputStream, OutputStream)","u":"connected(java.net.SocketAddress,java.net.SocketAddress,java.io.InputStream,java.io.OutputStream)"},{"p":"org.cojen.dirmi","c":"Session","l":"connected(SocketChannel)","u":"connected(java.nio.channels.SocketChannel)"},{"p":"org.cojen.dirmi","c":"Environment","l":"connector(Connector)","u":"connector(org.cojen.dirmi.Connector)"},{"p":"org.cojen.dirmi","c":"Environment","l":"create()"},{"p":"org.cojen.dirmi","c":"Environment","l":"create(Executor)","u":"create(java.util.concurrent.Executor)"},{"p":"org.cojen.dirmi","c":"Session","l":"current()"},{"p":"org.cojen.dirmi","c":"Environment","l":"customSerializers(Serializer...)","u":"customSerializers(org.cojen.dirmi.Serializer...)"},{"p":"org.cojen.dirmi","c":"RemoteFailure","l":"declared()"},{"p":"org.cojen.dirmi","c":"Pipe.Decoder","l":"decode(T, int, byte[], int)","u":"decode(T,int,byte[],int)"},{"p":"org.cojen.dirmi","c":"Pipe.Decoder","l":"decode(T, int, Pipe)","u":"decode(T,int,org.cojen.dirmi.Pipe)"},{"p":"org.cojen.dirmi","c":"Serializer","l":"descriptor()"},{"p":"org.cojen.dirmi","c":"SessionAware","l":"detached(Session)","u":"detached(org.cojen.dirmi.Session)"},{"p":"org.cojen.dirmi","c":"Connector","l":"direct()"},{"p":"org.cojen.dirmi","c":"Pipe","l":"disableReferences()"},{"p":"org.cojen.dirmi","c":"Session.State","l":"DISCONNECTED"},{"p":"org.cojen.dirmi","c":"DisconnectedException","l":"DisconnectedException()","u":"%3Cinit%3E()"},{"p":"org.cojen.dirmi","c":"DisconnectedException","l":"DisconnectedException(String)","u":"%3Cinit%3E(java.lang.String)"},{"p":"org.cojen.dirmi","c":"DisconnectedException","l":"DisconnectedException(String, Throwable)","u":"%3Cinit%3E(java.lang.String,java.lang.Throwable)"},{"p":"org.cojen.dirmi","c":"DisconnectedException","l":"DisconnectedException(Throwable)","u":"%3Cinit%3E(java.lang.Throwable)"},{"p":"org.cojen.dirmi","c":"Session","l":"dispose(Object)","u":"dispose(java.lang.Object)"},{"p":"org.cojen.dirmi","c":"DisposedException","l":"DisposedException()","u":"%3Cinit%3E()"},{"p":"org.cojen.dirmi","c":"DisposedException","l":"DisposedException(String)","u":"%3Cinit%3E(java.lang.String)"},{"p":"org.cojen.dirmi","c":"DisposedException","l":"DisposedException(String, Throwable)","u":"%3Cinit%3E(java.lang.String,java.lang.Throwable)"},{"p":"org.cojen.dirmi","c":"DisposedException","l":"DisposedException(Throwable)","u":"%3Cinit%3E(java.lang.Throwable)"},{"p":"org.cojen.dirmi","c":"Session","l":"disposeServer(Object)","u":"disposeServer(java.lang.Object)"},{"p":"org.cojen.dirmi","c":"Pipe","l":"enableReferences()"},{"p":"org.cojen.dirmi","c":"Pipe.Encoder","l":"encode(T, int, byte[], int)","u":"encode(T,int,byte[],int)"},{"p":"org.cojen.dirmi","c":"Pipe.Encoder","l":"encode(T, int, Pipe)","u":"encode(T,int,org.cojen.dirmi.Pipe)"},{"p":"org.cojen.dirmi","c":"RemoteFailure","l":"exception()"},{"p":"org.cojen.dirmi","c":"Environment","l":"export(Object, Object)","u":"export(java.lang.Object,java.lang.Object)"},{"p":"org.cojen.dirmi","c":"Serialized","l":"filter()"},{"p":"org.cojen.dirmi","c":"RemoteException","l":"getMessage()"},{"p":"org.cojen.dirmi","c":"Environment","l":"idleConnectionMillis(int)"},{"p":"org.cojen.dirmi","c":"Pipe","l":"inputStream()"},{"p":"org.cojen.dirmi","c":"Restorable","l":"lenient()"},{"p":"org.cojen.dirmi","c":"Connector","l":"local(Environment)","u":"local(org.cojen.dirmi.Environment)"},{"p":"org.cojen.dirmi","c":"Link","l":"localAddress()"},{"p":"org.cojen.dirmi","c":"NoSuchObjectException","l":"NoSuchObjectException(long)","u":"%3Cinit%3E(long)"},{"p":"org.cojen.dirmi","c":"NoSuchObjectException","l":"NoSuchObjectException(String)","u":"%3Cinit%3E(java.lang.String)"},{"p":"org.cojen.dirmi","c":"Pipe","l":"outputStream()"},{"p":"org.cojen.dirmi","c":"Environment","l":"pingTimeoutMillis(int)"},{"p":"org.cojen.dirmi","c":"Serializer","l":"read(Pipe)","u":"read(org.cojen.dirmi.Pipe)"},{"p":"org.cojen.dirmi","c":"Pipe","l":"readDecode(T, int, Pipe.Decoder)","u":"readDecode(T,int,org.cojen.dirmi.Pipe.Decoder)"},{"p":"org.cojen.dirmi","c":"Pipe","l":"readObject()"},{"p":"org.cojen.dirmi","c":"Pipe","l":"readThrowable()"},{"p":"org.cojen.dirmi","c":"Session","l":"reconnect()"},{"p":"org.cojen.dirmi","c":"Environment","l":"reconnectDelayMillis(int)"},{"p":"org.cojen.dirmi","c":"Session.State","l":"RECONNECTED"},{"p":"org.cojen.dirmi","c":"Session.State","l":"RECONNECTING"},{"p":"org.cojen.dirmi","c":"Pipe","l":"recycle()"},{"p":"org.cojen.dirmi","c":"Link","l":"remoteAddress()"},{"p":"org.cojen.dirmi","c":"RemoteException","l":"remoteAddress()"},{"p":"org.cojen.dirmi","c":"RemoteException","l":"remoteAddress(SocketAddress)","u":"remoteAddress(java.net.SocketAddress)"},{"p":"org.cojen.dirmi","c":"RemoteException","l":"RemoteException()","u":"%3Cinit%3E()"},{"p":"org.cojen.dirmi","c":"RemoteException","l":"RemoteException(String)","u":"%3Cinit%3E(java.lang.String)"},{"p":"org.cojen.dirmi","c":"RemoteException","l":"RemoteException(String, Throwable)","u":"%3Cinit%3E(java.lang.String,java.lang.Throwable)"},{"p":"org.cojen.dirmi","c":"RemoteException","l":"RemoteException(Throwable)","u":"%3Cinit%3E(java.lang.Throwable)"},{"p":"org.cojen.dirmi","c":"ClassResolver","l":"resolveClass(String)","u":"resolveClass(java.lang.String)"},{"p":"org.cojen.dirmi","c":"Session","l":"resolveClass(String)","u":"resolveClass(java.lang.String)"},{"p":"org.cojen.dirmi","c":"Session","l":"root()"},{"p":"org.cojen.dirmi","c":"Connector","l":"secure(SSLContext)","u":"secure(javax.net.ssl.SSLContext)"},{"p":"org.cojen.dirmi","c":"Serializer","l":"simple(Class)","u":"simple(java.lang.Class)"},{"p":"org.cojen.dirmi","c":"Session","l":"state()"},{"p":"org.cojen.dirmi","c":"Serializer","l":"supportedTypes()"},{"p":"org.cojen.dirmi","c":"Pipe","l":"transferTo(OutputStream, long)","u":"transferTo(java.io.OutputStream,long)"},{"p":"org.cojen.dirmi","c":"Session","l":"uncaught(Throwable)","u":"uncaught(java.lang.Throwable)"},{"p":"org.cojen.dirmi","c":"Environment","l":"uncaughtExceptionHandler(BiConsumer, Throwable>)","u":"uncaughtExceptionHandler(java.util.function.BiConsumer)"},{"p":"org.cojen.dirmi","c":"Session","l":"uncaughtExceptionHandler(BiConsumer, Throwable>)","u":"uncaughtExceptionHandler(java.util.function.BiConsumer)"},{"p":"org.cojen.dirmi","c":"UnimplementedException","l":"UnimplementedException()","u":"%3Cinit%3E()"},{"p":"org.cojen.dirmi","c":"UnimplementedException","l":"UnimplementedException(String)","u":"%3Cinit%3E(java.lang.String)"},{"p":"org.cojen.dirmi","c":"UnimplementedException","l":"UnimplementedException(String, Throwable)","u":"%3Cinit%3E(java.lang.String,java.lang.Throwable)"},{"p":"org.cojen.dirmi","c":"UnimplementedException","l":"UnimplementedException(Throwable)","u":"%3Cinit%3E(java.lang.Throwable)"},{"p":"org.cojen.dirmi","c":"Session.State","l":"valueOf(String)","u":"valueOf(java.lang.String)"},{"p":"org.cojen.dirmi","c":"Session.State","l":"values()"},{"p":"org.cojen.dirmi","c":"Serializer","l":"write(Pipe, Object)","u":"write(org.cojen.dirmi.Pipe,java.lang.Object)"},{"p":"org.cojen.dirmi","c":"Pipe","l":"writeEncode(T, int, Pipe.Encoder)","u":"writeEncode(T,int,org.cojen.dirmi.Pipe.Encoder)"},{"p":"org.cojen.dirmi","c":"Pipe","l":"writeNull()"},{"p":"org.cojen.dirmi","c":"Pipe","l":"writeObject(Object)","u":"writeObject(java.lang.Object)"}];updateSearchResults(); \ No newline at end of file +memberSearchIndex = [{"p":"org.cojen.dirmi","c":"Environment","l":"acceptAll(ServerSocket)","u":"acceptAll(java.net.ServerSocket)"},{"p":"org.cojen.dirmi","c":"Environment","l":"acceptAll(ServerSocket, Predicate)","u":"acceptAll(java.net.ServerSocket,java.util.function.Predicate)"},{"p":"org.cojen.dirmi","c":"Environment","l":"acceptAll(ServerSocketChannel)","u":"acceptAll(java.nio.channels.ServerSocketChannel)"},{"p":"org.cojen.dirmi","c":"Environment","l":"acceptAll(ServerSocketChannel, Predicate)","u":"acceptAll(java.nio.channels.ServerSocketChannel,java.util.function.Predicate)"},{"p":"org.cojen.dirmi","c":"Environment","l":"accepted(Socket)","u":"accepted(java.net.Socket)"},{"p":"org.cojen.dirmi","c":"Environment","l":"accepted(SocketAddress, SocketAddress, InputStream, OutputStream)","u":"accepted(java.net.SocketAddress,java.net.SocketAddress,java.io.InputStream,java.io.OutputStream)"},{"p":"org.cojen.dirmi","c":"Environment","l":"accepted(SocketChannel)","u":"accepted(java.nio.channels.SocketChannel)"},{"p":"org.cojen.dirmi","c":"Session","l":"access(Object)","u":"access(java.lang.Object)"},{"p":"org.cojen.dirmi","c":"Serializer","l":"adapt(Object)","u":"adapt(java.lang.Object)"},{"p":"org.cojen.dirmi","c":"Session","l":"addStateListener(BiPredicate, Throwable>)","u":"addStateListener(java.util.function.BiPredicate)"},{"p":"org.cojen.dirmi","c":"SessionAware","l":"attached(Session)","u":"attached(org.cojen.dirmi.Session)"},{"p":"org.cojen.dirmi","c":"Environment","l":"classLoader(ClassLoader)","u":"classLoader(java.lang.ClassLoader)"},{"p":"org.cojen.dirmi","c":"Environment","l":"classResolver(ClassResolver)","u":"classResolver(org.cojen.dirmi.ClassResolver)"},{"p":"org.cojen.dirmi","c":"Environment","l":"close()"},{"p":"org.cojen.dirmi","c":"Session","l":"close()"},{"p":"org.cojen.dirmi","c":"Session.State","l":"CLOSED"},{"p":"org.cojen.dirmi","c":"ClosedException","l":"ClosedException()","u":"%3Cinit%3E()"},{"p":"org.cojen.dirmi","c":"ClosedException","l":"ClosedException(String)","u":"%3Cinit%3E(java.lang.String)"},{"p":"org.cojen.dirmi","c":"ClosedException","l":"ClosedException(String, Throwable)","u":"%3Cinit%3E(java.lang.String,java.lang.Throwable)"},{"p":"org.cojen.dirmi","c":"ClosedException","l":"ClosedException(Throwable)","u":"%3Cinit%3E(java.lang.Throwable)"},{"p":"org.cojen.dirmi","c":"Environment","l":"connect(Class, Object, SocketAddress)","u":"connect(java.lang.Class,java.lang.Object,java.net.SocketAddress)"},{"p":"org.cojen.dirmi","c":"Environment","l":"connect(Class, Object, String, int)","u":"connect(java.lang.Class,java.lang.Object,java.lang.String,int)"},{"p":"org.cojen.dirmi","c":"Connector","l":"connect(Session)","u":"connect(org.cojen.dirmi.Session)"},{"p":"org.cojen.dirmi","c":"Session.State","l":"CONNECTED"},{"p":"org.cojen.dirmi","c":"Session","l":"connected(Socket)","u":"connected(java.net.Socket)"},{"p":"org.cojen.dirmi","c":"Session","l":"connected(SocketAddress, SocketAddress, InputStream, OutputStream)","u":"connected(java.net.SocketAddress,java.net.SocketAddress,java.io.InputStream,java.io.OutputStream)"},{"p":"org.cojen.dirmi","c":"Session","l":"connected(SocketChannel)","u":"connected(java.nio.channels.SocketChannel)"},{"p":"org.cojen.dirmi","c":"Environment","l":"connector(Connector)","u":"connector(org.cojen.dirmi.Connector)"},{"p":"org.cojen.dirmi","c":"Environment","l":"create()"},{"p":"org.cojen.dirmi","c":"Environment","l":"create(Executor)","u":"create(java.util.concurrent.Executor)"},{"p":"org.cojen.dirmi","c":"Environment","l":"create(Executor, boolean)","u":"create(java.util.concurrent.Executor,boolean)"},{"p":"org.cojen.dirmi","c":"Session","l":"current()"},{"p":"org.cojen.dirmi","c":"Environment","l":"customSerializers(Serializer...)","u":"customSerializers(org.cojen.dirmi.Serializer...)"},{"p":"org.cojen.dirmi","c":"RemoteFailure","l":"declared()"},{"p":"org.cojen.dirmi","c":"Pipe.Decoder","l":"decode(T, int, byte[], int)","u":"decode(T,int,byte[],int)"},{"p":"org.cojen.dirmi","c":"Pipe.Decoder","l":"decode(T, int, Pipe)","u":"decode(T,int,org.cojen.dirmi.Pipe)"},{"p":"org.cojen.dirmi","c":"Serializer","l":"descriptor()"},{"p":"org.cojen.dirmi","c":"SessionAware","l":"detached(Session)","u":"detached(org.cojen.dirmi.Session)"},{"p":"org.cojen.dirmi","c":"Connector","l":"direct()"},{"p":"org.cojen.dirmi","c":"Pipe","l":"disableReferences()"},{"p":"org.cojen.dirmi","c":"Session.State","l":"DISCONNECTED"},{"p":"org.cojen.dirmi","c":"DisconnectedException","l":"DisconnectedException()","u":"%3Cinit%3E()"},{"p":"org.cojen.dirmi","c":"DisconnectedException","l":"DisconnectedException(String)","u":"%3Cinit%3E(java.lang.String)"},{"p":"org.cojen.dirmi","c":"DisconnectedException","l":"DisconnectedException(String, Throwable)","u":"%3Cinit%3E(java.lang.String,java.lang.Throwable)"},{"p":"org.cojen.dirmi","c":"DisconnectedException","l":"DisconnectedException(Throwable)","u":"%3Cinit%3E(java.lang.Throwable)"},{"p":"org.cojen.dirmi","c":"Session","l":"dispose(Object)","u":"dispose(java.lang.Object)"},{"p":"org.cojen.dirmi","c":"DisposedException","l":"DisposedException()","u":"%3Cinit%3E()"},{"p":"org.cojen.dirmi","c":"DisposedException","l":"DisposedException(String)","u":"%3Cinit%3E(java.lang.String)"},{"p":"org.cojen.dirmi","c":"DisposedException","l":"DisposedException(String, Throwable)","u":"%3Cinit%3E(java.lang.String,java.lang.Throwable)"},{"p":"org.cojen.dirmi","c":"DisposedException","l":"DisposedException(Throwable)","u":"%3Cinit%3E(java.lang.Throwable)"},{"p":"org.cojen.dirmi","c":"Session","l":"disposeServer(Object)","u":"disposeServer(java.lang.Object)"},{"p":"org.cojen.dirmi","c":"Pipe","l":"enableReferences()"},{"p":"org.cojen.dirmi","c":"Pipe.Encoder","l":"encode(T, int, byte[], int)","u":"encode(T,int,byte[],int)"},{"p":"org.cojen.dirmi","c":"Pipe.Encoder","l":"encode(T, int, Pipe)","u":"encode(T,int,org.cojen.dirmi.Pipe)"},{"p":"org.cojen.dirmi","c":"RemoteFailure","l":"exception()"},{"p":"org.cojen.dirmi","c":"Environment","l":"export(Object, Object)","u":"export(java.lang.Object,java.lang.Object)"},{"p":"org.cojen.dirmi","c":"Serialized","l":"filter()"},{"p":"org.cojen.dirmi","c":"RemoteException","l":"getMessage()"},{"p":"org.cojen.dirmi","c":"Environment","l":"idleConnectionMillis(int)"},{"p":"org.cojen.dirmi","c":"Pipe","l":"inputStream()"},{"p":"org.cojen.dirmi","c":"Restorable","l":"lenient()"},{"p":"org.cojen.dirmi","c":"Connector","l":"local(Environment)","u":"local(org.cojen.dirmi.Environment)"},{"p":"org.cojen.dirmi","c":"Link","l":"localAddress()"},{"p":"org.cojen.dirmi","c":"NoSuchObjectException","l":"NoSuchObjectException(long)","u":"%3Cinit%3E(long)"},{"p":"org.cojen.dirmi","c":"NoSuchObjectException","l":"NoSuchObjectException(String)","u":"%3Cinit%3E(java.lang.String)"},{"p":"org.cojen.dirmi","c":"Pipe","l":"outputStream()"},{"p":"org.cojen.dirmi","c":"Environment","l":"pingTimeoutMillis(int)"},{"p":"org.cojen.dirmi","c":"Serializer","l":"read(Pipe)","u":"read(org.cojen.dirmi.Pipe)"},{"p":"org.cojen.dirmi","c":"Pipe","l":"readDecode(T, int, Pipe.Decoder)","u":"readDecode(T,int,org.cojen.dirmi.Pipe.Decoder)"},{"p":"org.cojen.dirmi","c":"Pipe","l":"readObject()"},{"p":"org.cojen.dirmi","c":"Pipe","l":"readThrowable()"},{"p":"org.cojen.dirmi","c":"Session","l":"reconnect()"},{"p":"org.cojen.dirmi","c":"Environment","l":"reconnectDelayMillis(int)"},{"p":"org.cojen.dirmi","c":"Session.State","l":"RECONNECTED"},{"p":"org.cojen.dirmi","c":"Session.State","l":"RECONNECTING"},{"p":"org.cojen.dirmi","c":"Pipe","l":"recycle()"},{"p":"org.cojen.dirmi","c":"Link","l":"remoteAddress()"},{"p":"org.cojen.dirmi","c":"RemoteException","l":"remoteAddress()"},{"p":"org.cojen.dirmi","c":"RemoteException","l":"remoteAddress(SocketAddress)","u":"remoteAddress(java.net.SocketAddress)"},{"p":"org.cojen.dirmi","c":"RemoteException","l":"RemoteException()","u":"%3Cinit%3E()"},{"p":"org.cojen.dirmi","c":"RemoteException","l":"RemoteException(String)","u":"%3Cinit%3E(java.lang.String)"},{"p":"org.cojen.dirmi","c":"RemoteException","l":"RemoteException(String, Throwable)","u":"%3Cinit%3E(java.lang.String,java.lang.Throwable)"},{"p":"org.cojen.dirmi","c":"RemoteException","l":"RemoteException(Throwable)","u":"%3Cinit%3E(java.lang.Throwable)"},{"p":"org.cojen.dirmi","c":"ClassResolver","l":"resolveClass(String)","u":"resolveClass(java.lang.String)"},{"p":"org.cojen.dirmi","c":"Session","l":"resolveClass(String)","u":"resolveClass(java.lang.String)"},{"p":"org.cojen.dirmi","c":"Session","l":"root()"},{"p":"org.cojen.dirmi","c":"Connector","l":"secure(SSLContext)","u":"secure(javax.net.ssl.SSLContext)"},{"p":"org.cojen.dirmi","c":"Serializer","l":"simple(Class)","u":"simple(java.lang.Class)"},{"p":"org.cojen.dirmi","c":"Session","l":"state()"},{"p":"org.cojen.dirmi","c":"Serializer","l":"supportedTypes()"},{"p":"org.cojen.dirmi","c":"Pipe","l":"transferTo(OutputStream, long)","u":"transferTo(java.io.OutputStream,long)"},{"p":"org.cojen.dirmi","c":"Session","l":"uncaught(Throwable)","u":"uncaught(java.lang.Throwable)"},{"p":"org.cojen.dirmi","c":"Environment","l":"uncaughtExceptionHandler(BiConsumer, Throwable>)","u":"uncaughtExceptionHandler(java.util.function.BiConsumer)"},{"p":"org.cojen.dirmi","c":"Session","l":"uncaughtExceptionHandler(BiConsumer, Throwable>)","u":"uncaughtExceptionHandler(java.util.function.BiConsumer)"},{"p":"org.cojen.dirmi","c":"UnimplementedException","l":"UnimplementedException()","u":"%3Cinit%3E()"},{"p":"org.cojen.dirmi","c":"UnimplementedException","l":"UnimplementedException(String)","u":"%3Cinit%3E(java.lang.String)"},{"p":"org.cojen.dirmi","c":"UnimplementedException","l":"UnimplementedException(String, Throwable)","u":"%3Cinit%3E(java.lang.String,java.lang.Throwable)"},{"p":"org.cojen.dirmi","c":"UnimplementedException","l":"UnimplementedException(Throwable)","u":"%3Cinit%3E(java.lang.Throwable)"},{"p":"org.cojen.dirmi","c":"Session.State","l":"valueOf(String)","u":"valueOf(java.lang.String)"},{"p":"org.cojen.dirmi","c":"Session.State","l":"values()"},{"p":"org.cojen.dirmi","c":"Serializer","l":"write(Pipe, Object)","u":"write(org.cojen.dirmi.Pipe,java.lang.Object)"},{"p":"org.cojen.dirmi","c":"Pipe","l":"writeEncode(T, int, Pipe.Encoder)","u":"writeEncode(T,int,org.cojen.dirmi.Pipe.Encoder)"},{"p":"org.cojen.dirmi","c":"Pipe","l":"writeNull()"},{"p":"org.cojen.dirmi","c":"Pipe","l":"writeObject(Object)","u":"writeObject(java.lang.Object)"}];updateSearchResults(); \ No newline at end of file diff --git a/docs/javadoc/org.cojen.dirmi/org/cojen/dirmi/Environment.html b/docs/javadoc/org.cojen.dirmi/org/cojen/dirmi/Environment.html index 3152c37..7918d9b 100644 --- a/docs/javadoc/org.cojen.dirmi/org/cojen/dirmi/Environment.html +++ b/docs/javadoc/org.cojen.dirmi/org/cojen/dirmi/Environment.html @@ -67,6 +67,7 @@
  1. create()
  2. create(Executor)
  3. +
  4. create(Executor, boolean)
  5. export(Object, Object)
  6. acceptAll(ServerSocket)
  7. acceptAll(ServerSocket, Predicate)
  8. @@ -206,35 +207,41 @@

    Method Summary

    Returns a new Environment instance which uses the given Executor.
    -
    void
    -
    customSerializers(Serializer... serializers)
    -
    -
    Provide custom serializers for newly established sessions.
    + +
    create(Executor executor, + boolean closeExecutor)
    +
    +
    Returns a new Environment instance which uses the given Executor.
    - -
    export(Object name, - Object obj)
    +
    void
    +
    customSerializers(Serializer... serializers)
    -
    Export a named server-side object.
    +
    Provide custom serializers for newly established sessions.
    -
    void
    - + +
    export(Object name, + Object obj)
    -
    Set the maximum idle connection time for newly established sessions (±33%).
    +
    Export a named server-side object.
    void
    -
    pingTimeoutMillis(int millis)
    +
    -
    Set the ping timeout for newly established sessions (±33%).
    +
    Set the maximum idle connection time for newly established sessions (±33%).
    void
    - +
    pingTimeoutMillis(int millis)
    -
    Set the reconnect delay for newly established client sessions (±10%).
    +
    Set the ping timeout for newly established sessions (±33%).
    void
    - +
    +
    Set the reconnect delay for newly established client sessions (±10%).
    +
    +
    void
    + +
    Set the handler which is invoked for any uncaught exceptions within this environment instance.
    @@ -260,7 +267,8 @@

    Method Details

    create

    static Environment create()
    -
    Returns a new Environment instance which uses a default Executor.
    +
    Returns a new Environment instance which uses a default Executor. When + the Environment is closed, the Executor is also closed.
    @@ -269,7 +277,26 @@

    create

    create

    static Environment create(Executor executor)
    +
    Returns a new Environment instance which uses the given Executor. When + the Environment is closed, the Executor is not closed.
    +
    + + +
  9. +
    +

    create

    +
    +
    static Environment create(Executor executor, + boolean closeExecutor)
    Returns a new Environment instance which uses the given Executor.
    +
    +
    Parameters:
    +
    closeExecutor - when true, the Executor is closed when the + Environment is closed
    +
    Throws:
    +
    IllegalArgumentException - if closeExecutor is true and the given + Executor doesn't implement Closeable or ExecutorService
    +
  10. diff --git a/docs/javadoc/org.cojen.dirmi/org/cojen/dirmi/class-use/Environment.html b/docs/javadoc/org.cojen.dirmi/org/cojen/dirmi/class-use/Environment.html index 82b9352..9e36063 100644 --- a/docs/javadoc/org.cojen.dirmi/org/cojen/dirmi/class-use/Environment.html +++ b/docs/javadoc/org.cojen.dirmi/org/cojen/dirmi/class-use/Environment.html @@ -78,6 +78,12 @@

    Uses of E + +
    Environment.create(Executor executor, + boolean closeExecutor)
    +
    +
    Returns a new Environment instance which uses the given Executor.
    +

    Methods in org.cojen.dirmi with parameters of type Environment