diff options
Diffstat (limited to 'framework/bundles/org.eclipse.ecf.provider/src/org')
18 files changed, 171 insertions, 28 deletions
diff --git a/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/internal/provider/ProviderPlugin.java b/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/internal/provider/ProviderPlugin.java index f2a5f483e..fa91ca875 100644 --- a/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/internal/provider/ProviderPlugin.java +++ b/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/internal/provider/ProviderPlugin.java @@ -139,6 +139,7 @@ public class ProviderPlugin implements BundleActivator { /** * Returns the shared instance. + * @return ProviderPlugin default instance */ public synchronized static ProviderPlugin getDefault() { if (plugin == null) { diff --git a/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/comm/tcp/AsynchMessage.java b/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/comm/tcp/AsynchMessage.java index 98ab059e0..016d91027 100644 --- a/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/comm/tcp/AsynchMessage.java +++ b/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/comm/tcp/AsynchMessage.java @@ -25,6 +25,7 @@ public class AsynchMessage implements Serializable { } /** + * @param data data for message * @since 4.3 */ public AsynchMessage(Serializable data) { @@ -32,6 +33,7 @@ public class AsynchMessage implements Serializable { } /** + * @return Serializable data from this message * @since 4.3 */ public Serializable getData() { diff --git a/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/comm/tcp/Client.java b/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/comm/tcp/Client.java index cec28cd0f..53ca8a534 100644 --- a/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/comm/tcp/Client.java +++ b/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/comm/tcp/Client.java @@ -162,6 +162,10 @@ public final class Client implements ISynchAsynchConnection { } /** + * @param remote remote URI + * @param timeout timeout + * @return Socket the created socket + * @throws ECFException if socket cannot be created for input parameters * @since 4.4 */ protected Socket createConnectSocket(URI remote, int timeout) throws ECFException { @@ -177,6 +181,9 @@ public final class Client implements ISynchAsynchConnection { } /** + * @param remote the remtoe ID + * @return URI the parsed remote ID + * @throws ECFException if remote ID cannot be parsed * @since 4.4 */ protected URI parseRemoteID(ID remote) throws ECFException { @@ -543,6 +550,7 @@ public final class Client implements ISynchAsynchConnection { } /** + * @return Object the output stream lock * @since 4.6 */ public Object getOutputStreamLock() { diff --git a/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/comm/tcp/Server.java b/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/comm/tcp/Server.java index 5605b289a..c0aedab2b 100644 --- a/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/comm/tcp/Server.java +++ b/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/comm/tcp/Server.java @@ -36,6 +36,12 @@ public class Server extends ServerSocket { } /** + * @param group thread group for created threads + * @param port port + * @param backlog backlog + * @param bindAddress a bindAddress + * @param handler the socket accept handler + * @throws IOException if server setup cannot be done * @since 4.4 */ public Server(ThreadGroup group, int port, int backlog, InetAddress bindAddress, ISocketAcceptHandler handler) throws IOException { @@ -49,6 +55,11 @@ public class Server extends ServerSocket { } /** + * @param group thread group for created threads + * @param port port + * @param bindAddress a bindAddress + * @param handler the socket accept handler + * @throws IOException if server setup cannot be done * @since 4.4 */ public Server(ThreadGroup group, int port, InetAddress bindAddress, ISocketAcceptHandler handler) throws IOException { @@ -56,6 +67,11 @@ public class Server extends ServerSocket { } /** + * @param group thread group for created threads + * @param port port + * @param backlog backlog + * @param handler the socket accept handler + * @throws IOException if server setup cannot be done * @since 4.4 */ public Server(ThreadGroup group, int port, int backlog, ISocketAcceptHandler handler) throws IOException { diff --git a/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/comm/tcp/SocketFactory.java b/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/comm/tcp/SocketFactory.java index ef9f8bfa6..b68ed01a6 100644 --- a/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/comm/tcp/SocketFactory.java +++ b/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/comm/tcp/SocketFactory.java @@ -35,6 +35,11 @@ public class SocketFactory implements IClientSocketFactory, IServerSocketFactory } /** + * @param port port + * @param backlog backlog + * @param bindAddress bindAddress + * @return ServerSocket server socket created + * @throws IOException if server socket cannot be created * @since 4.4 */ public ServerSocket createServerSocket(int port, int backlog, InetAddress bindAddress) throws IOException { diff --git a/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/comm/tcp/SynchMessage.java b/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/comm/tcp/SynchMessage.java index 5b6b78f4c..1339e0d84 100644 --- a/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/comm/tcp/SynchMessage.java +++ b/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/comm/tcp/SynchMessage.java @@ -17,6 +17,7 @@ public class SynchMessage extends AsynchMessage { private static final long serialVersionUID = 3906091152452434226L; /** + * @param data data * @since 4.3 */ public SynchMessage(Serializable data) { diff --git a/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/generic/ClientSOContainer.java b/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/generic/ClientSOContainer.java index c424edafc..daa18c39a 100644 --- a/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/generic/ClientSOContainer.java +++ b/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/generic/ClientSOContainer.java @@ -270,9 +270,9 @@ public abstract class ClientSOContainer extends SOContainer implements ISharedOb } /** - * @param from - * @param excluding - * @param data + * @param from from + * @param excluding excluding + * @param data data * @throws IOException not thrown by this implementation. */ protected void forwardExcluding(ID from, ID excluding, ContainerMessage data) throws IOException { @@ -311,10 +311,10 @@ public abstract class ClientSOContainer extends SOContainer implements ISharedOb } /** - * @param from - * @param excluding - * @param msg - * @param data + * @param from from + * @param excluding excluding + * @param msg msg + * @param data data * @throws IOException not thrown by this implementation. */ protected void forwardExcluding(ID from, ID excluding, byte msg, Serializable data) throws IOException { @@ -322,9 +322,9 @@ public abstract class ClientSOContainer extends SOContainer implements ISharedOb } /** - * @param from - * @param to - * @param message + * @param from from + * @param to to + * @param message message * @throws IOException not thrown by this implementation. */ protected void forwardToRemote(ID from, ID to, ContainerMessage message) throws IOException { diff --git a/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/generic/GenericContainerInstantiator.java b/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/generic/GenericContainerInstantiator.java index 5610c659b..32650c77b 100644 --- a/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/generic/GenericContainerInstantiator.java +++ b/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/generic/GenericContainerInstantiator.java @@ -108,6 +108,7 @@ public class GenericContainerInstantiator implements IContainerInstantiator, IRe } /** + * @return InetAddress the bind address. May be <code>null</code> * @since 4.5 */ public InetAddress getBindAddress() { @@ -116,6 +117,9 @@ public class GenericContainerInstantiator implements IContainerInstantiator, IRe } /** + * @param args arguments + * @return GenericContainerArgs the client args created + * @throws IDCreateException if the client args cannot be retrieved from given args * @since 3.0 */ protected GenericContainerArgs getClientArgs(Object[] args) throws IDCreateException { @@ -155,6 +159,9 @@ public class GenericContainerInstantiator implements IContainerInstantiator, IRe } /** + * @param args arguments + * @return GenericContainerArgs the server args created + * @throws IDCreateException if the server args cannot be retrieved from given args * @since 3.0 */ protected GenericContainerArgs getServerArgs(Object[] args) throws IDCreateException { @@ -269,6 +276,9 @@ public class GenericContainerInstantiator implements IContainerInstantiator, IRe } /** + * @param gcargs the generic container args + * @return IContainer the created container + * @throws Exception if something goes wrong * @since 4.5 */ protected IContainer createClientContainer(GenericContainerArgs gcargs) throws Exception { @@ -276,6 +286,9 @@ public class GenericContainerInstantiator implements IContainerInstantiator, IRe } /** + * @param gcargs the generic container args + * @return IContainer the created container + * @throws Exception if something goes wrong * @since 4.5 */ protected IContainer createServerContainer(GenericContainerArgs gcargs) throws Exception { diff --git a/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/generic/SOContainer.java b/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/generic/SOContainer.java index 311125db2..a91051e64 100644 --- a/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/generic/SOContainer.java +++ b/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/generic/SOContainer.java @@ -179,6 +179,7 @@ public abstract class SOContainer extends AbstractContainer implements ISharedOb } /** + * @return ISharedObjectMessageSerializer the shared object message serializer * @since 2.0 */ protected ISharedObjectMessageSerializer getSharedObjectMessageSerializer() { @@ -438,8 +439,8 @@ public abstract class SOContainer extends AbstractContainer implements ISharedOb abstract protected void forwardToRemote(ID from, ID to, ContainerMessage data) throws IOException; /** - * @param sd - * @return Object [] + * @param sd shared object description + * @return Object[] arguments from the shared object description properties */ protected Object[] getArgsFromProperties(SharedObjectDescription sd) { if (sd == null) @@ -459,8 +460,8 @@ public abstract class SOContainer extends AbstractContainer implements ISharedOb } /** - * @param sd - * @return String [] + * @param sd shared object description + * @return String[] arguments types from shared object description properties */ protected String[] getArgTypesFromProperties(SharedObjectDescription sd) { if (sd == null) @@ -494,8 +495,8 @@ public abstract class SOContainer extends AbstractContainer implements ISharedOb } /** - * @param sd - * @return ClassLoader + * @param sd shared object description + * @return ClassLoader classloader to used for given shared object description */ protected ClassLoader getClassLoaderForSharedObject(SharedObjectDescription sd) { return getClassLoaderForContainer(); @@ -545,6 +546,8 @@ public abstract class SOContainer extends AbstractContainer implements ISharedOb } /** + * @param message message + * @param t exception to print to system error * @since 2.0 */ protected static void printToSystemError(String message, Throwable t) { @@ -561,6 +564,7 @@ public abstract class SOContainer extends AbstractContainer implements ISharedOb } /** + * @return ISynchAsyncEventHandler message receiver * @since 4.7 */ public ISynchAsynchEventHandler getMessageReceiver() { @@ -659,11 +663,13 @@ public abstract class SOContainer extends AbstractContainer implements ISharedOb } /** - * @param mess + * @param mess leave group message */ protected abstract void handleLeaveGroupMessage(ContainerMessage mess); /** + * @param containerID containerID + * @return boolean true if verified, false otherwise * @since 4.0 */ protected boolean verifySharedObjectMessageTarget(ID containerID) { @@ -735,6 +741,7 @@ public abstract class SOContainer extends AbstractContainer implements ISharedOb } /** + * @param resp response message * @since 4.0 */ protected void handleUndeliveredSharedObjectMessage(SharedObjectMessage resp) { @@ -742,7 +749,7 @@ public abstract class SOContainer extends AbstractContainer implements ISharedOb } /** - * @param mess + * @param mess message * @throws IOException not thrown by this implementation. */ protected void handleUnidentifiedMessage(ContainerMessage mess) throws IOException { @@ -767,9 +774,9 @@ public abstract class SOContainer extends AbstractContainer implements ISharedOb } /** - * @param id - * @param obj - * @param props + * @param id id + * @param obj obj + * @param props props * @return SOConfig a non-<code>null</code> instance. * @throws ECFException not thrown by this implementation. */ @@ -850,7 +857,7 @@ public abstract class SOContainer extends AbstractContainer implements ISharedOb } /** - * @param event + * @param event event * @throws IOException not thrown by this implementation. */ protected void processAsynch(AsynchEvent event) throws IOException { @@ -985,6 +992,10 @@ public abstract class SOContainer extends AbstractContainer implements ISharedOb } /** + * @param sharedObjectID shared object ID + * @param message message + * @return byte[] serialized message + * @throws IOException if some problem serializing * @since 2.0 */ protected byte[] defaultSerializeSharedObjectMessage(ID sharedObjectID, Object message) throws IOException { @@ -998,6 +1009,10 @@ public abstract class SOContainer extends AbstractContainer implements ISharedOb } /** + * @param bytes data to deserialized + * @return Object the deserialized shared object message + * @throws IOException if deserialization cannot be done + * @throws ClassNotFoundException if deserialization cannot be done * @since 2.0 */ protected Object defaultDeserializeSharedObjectMessage(byte[] bytes) throws IOException, ClassNotFoundException { @@ -1058,7 +1073,7 @@ public abstract class SOContainer extends AbstractContainer implements ISharedOb } /** - * @param containerEvent + * @param containerEvent container event */ protected void fireDelegateContainerEvent(IContainerEvent containerEvent) { super.fireContainerEvent(containerEvent); diff --git a/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/generic/SOContainerGroup.java b/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/generic/SOContainerGroup.java index 118f232d1..d94d78bbd 100644 --- a/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/generic/SOContainerGroup.java +++ b/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/generic/SOContainerGroup.java @@ -67,6 +67,9 @@ public class SOContainerGroup implements ISocketAcceptHandler { } /** + * @param aSocket socket + * @return ObjectOutputStream new object output stream for socket + * @throws IOException if object output stream cannot be created * @since 4.7 */ protected ObjectOutputStream createObjectOutputStream(Socket aSocket) throws IOException { @@ -74,6 +77,9 @@ public class SOContainerGroup implements ISocketAcceptHandler { } /** + * @param aSocket socket + * @return ObjectInputStream new object input stream for socket + * @throws IOException if object input stream cannot be created * @since 4.7 */ protected ObjectInputStream createObjectInputStream(Socket aSocket) throws IOException { @@ -81,6 +87,10 @@ public class SOContainerGroup implements ISocketAcceptHandler { } /** + * @param ins object input stream. Will not be <code>null</code> + * @return ConnectRequestMessage connect request message read from object input stream + * @throws IOException if object cannot be read from stream + * @throws ClassNotFoundException if object cannot be read from stream * @since 4.7 */ protected ConnectRequestMessage readConnectRequestMessage(ObjectInputStream ins) throws IOException, ClassNotFoundException { @@ -91,6 +101,7 @@ public class SOContainerGroup implements ISocketAcceptHandler { } /** + * @param aSocket socket * @since 4.7 */ public void handleAccept(Socket aSocket) throws Exception { diff --git a/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/generic/SSLClientSOContainer.java b/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/generic/SSLClientSOContainer.java index 7fc73594a..e6477b8b7 100644 --- a/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/generic/SSLClientSOContainer.java +++ b/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/generic/SSLClientSOContainer.java @@ -42,8 +42,8 @@ public class SSLClientSOContainer extends ClientSOContainer { } /** - * @param remoteSpace - * @param data + * @param remoteSpace remote space + * @param data data * @return ISynchAsynchConnection a non-<code>null</code> instance. * @throws ConnectionCreateException not thrown by this implementation. */ diff --git a/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/generic/SSLGenericContainerInstantiator.java b/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/generic/SSLGenericContainerInstantiator.java index 442cc037d..bf524d6d6 100644 --- a/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/generic/SSLGenericContainerInstantiator.java +++ b/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/generic/SSLGenericContainerInstantiator.java @@ -123,6 +123,7 @@ public class SSLGenericContainerInstantiator implements IContainerInstantiator, } /** + * @return InetAddress the bind address. May be <code>null</code> * @since 4.5 */ public InetAddress getBindAddress() { @@ -130,6 +131,7 @@ public class SSLGenericContainerInstantiator implements IContainerInstantiator, } /** + * @return boolean true if wants client auth * @since 4.6 */ public boolean getWantClientAuth() { @@ -137,6 +139,7 @@ public class SSLGenericContainerInstantiator implements IContainerInstantiator, } /** + * @return boolean true if needs client auth * @since 4.6 */ public boolean getNeedClientAuth() { @@ -144,6 +147,7 @@ public class SSLGenericContainerInstantiator implements IContainerInstantiator, } /** + * @return boolean retrieve whether client auth is needed or wanted * @since 4.6 */ public boolean getClientAuth() { @@ -152,6 +156,9 @@ public class SSLGenericContainerInstantiator implements IContainerInstantiator, } /** + * @param args arguments + * @return GenericContainerArgs generic container args instance + * @throws IDCreateException if some problem creating arguments * @since 3.0 */ protected GenericContainerArgs getClientArgs(Object[] args) throws IDCreateException { @@ -187,6 +194,9 @@ public class SSLGenericContainerInstantiator implements IContainerInstantiator, } /** + * @param args arguments + * @return GenericContainerArgs the client args created + * @throws IDCreateException if the client args cannot be retrieved from given args * @since 3.0 */ protected GenericContainerArgs getServerArgs(Object[] args) throws IDCreateException { @@ -280,6 +290,7 @@ public class SSLGenericContainerInstantiator implements IContainerInstantiator, } /** + * @return SSLServerSocketFactory server socket factory * @since 4.6 */ private SSLServerSocketFactory getServerSocketFactory() { @@ -322,6 +333,9 @@ public class SSLGenericContainerInstantiator implements IContainerInstantiator, } /** + * @param gcargs the generic container args + * @return IContainer the created container + * @throws Exception if something goes wrong * @since 4.5 */ protected IContainer createClientContainer(GenericContainerArgs gcargs) throws Exception { @@ -329,6 +343,10 @@ public class SSLGenericContainerInstantiator implements IContainerInstantiator, } /** + * @param port port + * @param inetAddress inet address + * @return SSLServerSocket new ssl server socket + * @throws IOException if some problem creating server socket * @since 4.6 */ protected SSLServerSocket createSSLServerSocket(int port, InetAddress inetAddress) throws IOException { @@ -339,6 +357,9 @@ public class SSLGenericContainerInstantiator implements IContainerInstantiator, } /** + * @param gcargs the generic container args + * @return IContainer the created container + * @throws Exception if something goes wrong * @since 4.5 */ protected IContainer createServerContainer(GenericContainerArgs gcargs) throws Exception { @@ -377,6 +398,7 @@ public class SSLGenericContainerInstantiator implements IContainerInstantiator, } } + @SuppressWarnings("unchecked") protected Set getAdaptersForClass(Class clazz) { Set result = new HashSet(); IAdapterManager adapterManager = ProviderPlugin.getDefault().getAdapterManager(); @@ -385,6 +407,7 @@ public class SSLGenericContainerInstantiator implements IContainerInstantiator, return result; } + @SuppressWarnings("unchecked") protected Set getInterfacesForClass(Set s, Class clazz) { if (clazz.equals(Object.class)) return s; @@ -393,6 +416,7 @@ public class SSLGenericContainerInstantiator implements IContainerInstantiator, return s; } + @SuppressWarnings("unchecked") protected Set getInterfacesForClass(Class clazz) { Set clazzes = getInterfacesForClass(new HashSet(), clazz); Set result = new HashSet(); @@ -401,6 +425,7 @@ public class SSLGenericContainerInstantiator implements IContainerInstantiator, return result; } + @SuppressWarnings("unchecked") protected String[] getInterfacesAndAdaptersForClass(Class clazz) { Set result = getAdaptersForClass(clazz); result.addAll(getInterfacesForClass(clazz)); @@ -442,6 +467,7 @@ public class SSLGenericContainerInstantiator implements IContainerInstantiator, /** * @since 3.0 */ + @SuppressWarnings("unchecked") public String[] getImportedConfigs(ContainerTypeDescription description, String[] exporterSupportedConfigs) { if (exporterSupportedConfigs == null) return null; diff --git a/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/generic/SSLServerSOContainer.java b/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/generic/SSLServerSOContainer.java index 2dc8f39a8..d4db08c1c 100644 --- a/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/generic/SSLServerSOContainer.java +++ b/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/generic/SSLServerSOContainer.java @@ -67,6 +67,12 @@ public class SSLServerSOContainer extends ServerSOContainer implements IConnectR } /** + * @param config config + * @param port port + * @param bindAddress bind address + * @param path path + * @param keepAlive keep alive + * @throws IOException if some problem * @since 4.4 */ public SSLServerSOContainer(ISharedObjectContainerConfig config, int port, InetAddress bindAddress, String path, int keepAlive) throws IOException { @@ -81,6 +87,11 @@ public class SSLServerSOContainer extends ServerSOContainer implements IConnectR } /** + * @param config config + * @param sslServerSocket socket + * @param keepAlive keep alive + * @throws IOException if some problem + * @throws URISyntaxException if some problem * @since 4.6 */ public SSLServerSOContainer(ISharedObjectContainerConfig config, SSLServerSocket sslServerSocket, int keepAlive) throws IOException, URISyntaxException { @@ -96,6 +107,11 @@ public class SSLServerSOContainer extends ServerSOContainer implements IConnectR } /** + * @param config config + * @param bindAddress bind address + * @param keepAlive keep alive + * @throws IOException if some problem + * @throws URISyntaxException if some problem with uri syntax based upon getID().getName() * @since 4.4 */ public SSLServerSOContainer(ISharedObjectContainerConfig config, InetAddress bindAddress, int keepAlive) throws IOException, URISyntaxException { diff --git a/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/generic/SSLServerSOContainerGroup.java b/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/generic/SSLServerSOContainerGroup.java index 8208eecf4..e5f9ef097 100644 --- a/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/generic/SSLServerSOContainerGroup.java +++ b/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/generic/SSLServerSOContainerGroup.java @@ -53,6 +53,10 @@ public class SSLServerSOContainerGroup extends SOContainerGroup implements ISock } /** + * @param name name + * @param group thread group to use to create thread + * @param port port + * @param bindAddress bind address * @since 4.4 */ public SSLServerSOContainerGroup(String name, ThreadGroup group, int port, InetAddress bindAddress) { @@ -72,6 +76,9 @@ public class SSLServerSOContainerGroup extends SOContainerGroup implements ISock } /** + * @param name name + * @param group thread group to use + * @param sslServerSocket the ssl server socket * @since 4.6 */ public SSLServerSOContainerGroup(String name, ThreadGroup group, SSLServerSocket sslServerSocket) { @@ -156,6 +163,8 @@ public class SSLServerSOContainerGroup extends SOContainerGroup implements ISock } /** + * @param aSocket socket + * @throws Exception if some problem with handling accept * @since 4.7 */ protected void handleSyncAccept(final Socket aSocket) throws Exception { diff --git a/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/generic/ServerSOContainer.java b/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/generic/ServerSOContainer.java index 092093978..83535a979 100644 --- a/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/generic/ServerSOContainer.java +++ b/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/generic/ServerSOContainer.java @@ -169,7 +169,7 @@ public class ServerSOContainer extends SOContainer implements ISharedObjectConta } /** - * @param mess + * @param mess message * @throws IOException not thrown by this implementation. */ protected void handleViewChangeMessage(ContainerMessage mess) throws IOException { diff --git a/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/generic/TCPClientSOContainer.java b/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/generic/TCPClientSOContainer.java index 1f6344ca3..3b4f4807e 100644 --- a/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/generic/TCPClientSOContainer.java +++ b/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/generic/TCPClientSOContainer.java @@ -39,8 +39,8 @@ public class TCPClientSOContainer extends ClientSOContainer { } /** - * @param remoteSpace - * @param data + * @param remoteSpace remote space + * @param data and data * @return ISynchAsynchConnection a non-<code>null</code> instance. * @throws ConnectionCreateException not thrown by this implementation. */ diff --git a/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/generic/TCPServerSOContainer.java b/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/generic/TCPServerSOContainer.java index 6e69ca43b..8f6a39dc2 100644 --- a/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/generic/TCPServerSOContainer.java +++ b/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/generic/TCPServerSOContainer.java @@ -66,6 +66,12 @@ public class TCPServerSOContainer extends ServerSOContainer implements IConnectR } /** + * @param config config + * @param port port + * @param bindAddress bind address + * @param path path + * @param keepAlive keep alive + * @throws IOException if some problem creating * @since 4.4 */ public TCPServerSOContainer(ISharedObjectContainerConfig config, int port, InetAddress bindAddress, String path, int keepAlive) throws IOException { @@ -79,6 +85,11 @@ public class TCPServerSOContainer extends ServerSOContainer implements IConnectR } /** + * @param config config + * @param bindAddress bind address + * @param keepAlive keep alive + * @throws IOException if some problem creating + * @throws URISyntaxException if some problem creating * @since 4.4 */ public TCPServerSOContainer(ISharedObjectContainerConfig config, InetAddress bindAddress, int keepAlive) throws IOException, URISyntaxException { diff --git a/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/generic/TCPServerSOContainerGroup.java b/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/generic/TCPServerSOContainerGroup.java index e2761e393..0a289442e 100644 --- a/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/generic/TCPServerSOContainerGroup.java +++ b/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/generic/TCPServerSOContainerGroup.java @@ -29,6 +29,11 @@ public class TCPServerSOContainerGroup extends SOContainerGroup { private InetAddress bindAddress; /** + * @param name name + * @param group thread group to use + * @param port port + * @param backlog backlog + * @param bindAddress bind address * @since 4.4 */ public TCPServerSOContainerGroup(String name, ThreadGroup group, int port, int backlog, InetAddress bindAddress) { @@ -40,6 +45,10 @@ public class TCPServerSOContainerGroup extends SOContainerGroup { } /** + * @param name name + * @param group thread group to use + * @param port port + * @param bindAddress bind address * @since 4.4 */ public TCPServerSOContainerGroup(String name, ThreadGroup group, int port, InetAddress bindAddress) { |