javaextensions/bluetooth/bluecove/javasrc/javax/obex/SessionNotifier.java
branchRCL_3
changeset 19 04becd199f91
equal deleted inserted replaced
16:f5050f1da672 19:04becd199f91
       
     1 /**
       
     2  *  BlueCove - Java library for Bluetooth
       
     3  * 
       
     4  *  Java docs licensed under the Apache License, Version 2.0
       
     5  *  http://www.apache.org/licenses/LICENSE-2.0 
       
     6  *   (c) Copyright 2001, 2002 Motorola, Inc.  ALL RIGHTS RESERVED.
       
     7  *
       
     8  *  Licensed to the Apache Software Foundation (ASF) under one
       
     9  *  or more contributor license agreements.  See the NOTICE file
       
    10  *  distributed with this work for additional information
       
    11  *  regarding copyright ownership.  The ASF licenses this file
       
    12  *  to you under the Apache License, Version 2.0 (the
       
    13  *  "License"); you may not use this file except in compliance
       
    14  *  with the License.  You may obtain a copy of the License at
       
    15  *
       
    16  *    http://www.apache.org/licenses/LICENSE-2.0
       
    17  *
       
    18  *  Unless required by applicable law or agreed to in writing,
       
    19  *  software distributed under the License is distributed on an
       
    20  *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
       
    21  *  KIND, either express or implied.  See the License for the
       
    22  *  specific language governing permissions and limitations
       
    23  *  under the License.
       
    24  *
       
    25  *  @version $Id: SessionNotifier.java 2532 2008-12-09 20:23:14Z skarzhevskyy $  
       
    26  */
       
    27 package javax.obex;
       
    28 
       
    29 import java.io.IOException;
       
    30 
       
    31 import javax.microedition.io.Connection;
       
    32 
       
    33 /**
       
    34  * Please refer JSR-82
       
    35  */
       
    36 public interface SessionNotifier extends Connection {
       
    37 
       
    38     /**
       
    39      * Please refer JSR-82
       
    40      */
       
    41     public Connection acceptAndOpen(ServerRequestHandler handler) throws IOException;
       
    42 
       
    43     /**
       
    44      * Please refer JSR-82
       
    45      */
       
    46     public Connection acceptAndOpen(ServerRequestHandler handler, Authenticator auth) throws IOException;
       
    47 }