javaextensions/bluetooth/bluecove/javasrc/javax/obex/ClientSession.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: ClientSession.java 2531 2008-12-09 19:43:45Z 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 ClientSession extends Connection {
       
    37 
       
    38     /**
       
    39      * Please refer JSR-82
       
    40      */
       
    41 	public void setAuthenticator(Authenticator auth);
       
    42 
       
    43     /**
       
    44      * Please refer JSR-82
       
    45      */
       
    46 	public HeaderSet createHeaderSet();
       
    47 
       
    48     /**
       
    49      * Please refer JSR-82
       
    50      */
       
    51 	public void setConnectionID(long id);
       
    52 
       
    53     /**
       
    54      * Please refer JSR-82
       
    55      */
       
    56 	public long getConnectionID();
       
    57 
       
    58     /**
       
    59      * Please refer JSR-82
       
    60      */
       
    61 	public HeaderSet connect(HeaderSet headers) throws IOException;
       
    62 
       
    63     /**
       
    64      * Please refer JSR-82
       
    65      */
       
    66 	public HeaderSet disconnect(HeaderSet headers) throws IOException;
       
    67 
       
    68     /**
       
    69      * Please refer JSR-82
       
    70      */
       
    71 	public HeaderSet setPath(HeaderSet headers, boolean backup, boolean create) throws IOException;
       
    72 
       
    73     /**
       
    74      * Please refer JSR-82
       
    75      */
       
    76 	public HeaderSet delete(HeaderSet headers) throws IOException;
       
    77 
       
    78     /**
       
    79      * Please refer JSR-82
       
    80      */
       
    81 	public Operation get(HeaderSet headers) throws IOException;
       
    82 
       
    83     /**
       
    84      * Please refer JSR-82
       
    85      */
       
    86 	public Operation put(HeaderSet headers) throws IOException;
       
    87 }