Return-Path: Delivered-To: apmail-directory-commits-archive@www.apache.org Received: (qmail 56855 invoked from network); 19 Oct 2005 09:42:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 19 Oct 2005 09:42:33 -0000 Received: (qmail 76364 invoked by uid 500); 19 Oct 2005 09:42:33 -0000 Delivered-To: apmail-directory-commits-archive@directory.apache.org Received: (qmail 76313 invoked by uid 500); 19 Oct 2005 09:42:33 -0000 Mailing-List: contact commits-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@directory.apache.org Delivered-To: mailing list commits@directory.apache.org Received: (qmail 76302 invoked by uid 99); 19 Oct 2005 09:42:33 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Oct 2005 02:42:33 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 19 Oct 2005 02:42:32 -0700 Received: (qmail 56719 invoked by uid 65534); 19 Oct 2005 09:42:11 -0000 Message-ID: <20051019094211.56717.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r326510 - in /directory/network/trunk/src/java/org/apache/mina/transport/socket/nio: DatagramSessionConfig.java SocketSessionConfig.java Date: Wed, 19 Oct 2005 09:42:10 -0000 To: commits@directory.apache.org From: trustin@apache.org X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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;