You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by tr...@apache.org on 2005/10/19 11:42:10 UTC

svn commit: r326510 - in /directory/network/trunk/src/java/org/apache/mina/transport/socket/nio: DatagramSessionConfig.java SocketSessionConfig.java

Author: trustin
Date: Wed Oct 19 02:42:06 2005
New Revision: 326510

URL: http://svn.apache.org/viewcvs?rev=326510&view=rev
Log:
Forgot to add license statement.

Modified:
    directory/network/trunk/src/java/org/apache/mina/transport/socket/nio/DatagramSessionConfig.java
    directory/network/trunk/src/java/org/apache/mina/transport/socket/nio/SocketSessionConfig.java

Modified: directory/network/trunk/src/java/org/apache/mina/transport/socket/nio/DatagramSessionConfig.java
URL: http://svn.apache.org/viewcvs/directory/network/trunk/src/java/org/apache/mina/transport/socket/nio/DatagramSessionConfig.java?rev=326510&r1=326509&r2=326510&view=diff
==============================================================================
--- directory/network/trunk/src/java/org/apache/mina/transport/socket/nio/DatagramSessionConfig.java (original)
+++ directory/network/trunk/src/java/org/apache/mina/transport/socket/nio/DatagramSessionConfig.java Wed Oct 19 02:42:06 2005
@@ -1,9 +1,37 @@
+/*
+ *   @(#) $Id$
+ *
+ *   Copyright 2004 The Apache Software Foundation
+ *
+ *   Licensed under the Apache License, Version 2.0 (the "License");
+ *   you may not use this file except in compliance with the License.
+ *   You may obtain a copy of the License at
+ *
+ *       http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *   Unless required by applicable law or agreed to in writing, software
+ *   distributed under the License is distributed on an "AS IS" BASIS,
+ *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *   See the License for the specific language governing permissions and
+ *   limitations under the License.
+ *
+ */
 package org.apache.mina.transport.socket.nio;
 
 import java.net.SocketException;
 
+import org.apache.mina.common.IoSession;
 import org.apache.mina.common.IoSessionConfig;
 
+/**
+ * A {@link IoSessionConfig} for datagram transport (UDP/IP).
+ * You can downcast {@link IoSessionConfig} instance returned by
+ * {@link IoSession#getConfig()} if you've created datagram session using
+ * {@link DatagramAcceptor} or {@link DatagramConnector}.
+ * 
+ * @author Trustin Lee (trustin@apache.org)
+ * @version $Rev$, $Date$,
+ */
 public interface DatagramSessionConfig extends IoSessionConfig
 {
     boolean getReuseAddress() throws SocketException;

Modified: directory/network/trunk/src/java/org/apache/mina/transport/socket/nio/SocketSessionConfig.java
URL: http://svn.apache.org/viewcvs/directory/network/trunk/src/java/org/apache/mina/transport/socket/nio/SocketSessionConfig.java?rev=326510&r1=326509&r2=326510&view=diff
==============================================================================
--- directory/network/trunk/src/java/org/apache/mina/transport/socket/nio/SocketSessionConfig.java (original)
+++ directory/network/trunk/src/java/org/apache/mina/transport/socket/nio/SocketSessionConfig.java Wed Oct 19 02:42:06 2005
@@ -1,9 +1,37 @@
+/*
+ *   @(#) $Id$
+ *
+ *   Copyright 2004 The Apache Software Foundation
+ *
+ *   Licensed under the Apache License, Version 2.0 (the "License");
+ *   you may not use this file except in compliance with the License.
+ *   You may obtain a copy of the License at
+ *
+ *       http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *   Unless required by applicable law or agreed to in writing, software
+ *   distributed under the License is distributed on an "AS IS" BASIS,
+ *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *   See the License for the specific language governing permissions and
+ *   limitations under the License.
+ *
+ */
 package org.apache.mina.transport.socket.nio;
 
 import java.net.SocketException;
 
+import org.apache.mina.common.IoSession;
 import org.apache.mina.common.IoSessionConfig;
 
+/**
+ * A {@link IoSessionConfig} for socket transport (TCP/IP).
+ * You can downcast {@link IoSessionConfig} instance returned by
+ * {@link IoSession#getConfig()} if you've created datagram session
+ * using {@link SocketAcceptor} or {@link SocketConnector}.
+ * 
+ * @author Trustin Lee (trustin@apache.org)
+ * @version $Rev$, $Date$,
+ */
 public interface SocketSessionConfig extends IoSessionConfig
 {
     boolean getKeepAlive() throws SocketException;