Use is subject to License Terms. Your use of this web site or any of its contents or software indicates your agreement to be bound by these License Terms.

Copyright © 2006 Sun Microsystems, Inc. All rights reserved.

JSR 82

javax.obex
Interface ClientSession

All Superinterfaces:
javax.microedition.io.Connection

public interface ClientSession
extends javax.microedition.io.Connection

This interface is defined by the JSR-82 specification Java™ APIs for Bluetooth™ Wireless Technology, Version 1.1.


Method Summary
 HeaderSet connect(HeaderSet headers)
           
 HeaderSet createHeaderSet()
           
 HeaderSet delete(HeaderSet headers)
           
 HeaderSet disconnect(HeaderSet headers)
           
 Operation get(HeaderSet headers)
           
 long getConnectionID()
           
 Operation put(HeaderSet headers)
           
 void setAuthenticator(Authenticator auth)
           
 void setConnectionID(long id)
           
 HeaderSet setPath(HeaderSet headers, boolean backup, boolean create)
           
 
Methods inherited from interface javax.microedition.io.Connection
close
 

Method Detail

setAuthenticator

void setAuthenticator(Authenticator auth)

createHeaderSet

HeaderSet createHeaderSet()

setConnectionID

void setConnectionID(long id)

getConnectionID

long getConnectionID()

connect

HeaderSet connect(HeaderSet headers)
                  throws java.io.IOException
Throws:
java.io.IOException

disconnect

HeaderSet disconnect(HeaderSet headers)
                     throws java.io.IOException
Throws:
java.io.IOException

setPath

HeaderSet setPath(HeaderSet headers,
                  boolean backup,
                  boolean create)
                  throws java.io.IOException
Throws:
java.io.IOException

delete

HeaderSet delete(HeaderSet headers)
                 throws java.io.IOException
Throws:
java.io.IOException

get

Operation get(HeaderSet headers)
              throws java.io.IOException
Throws:
java.io.IOException

put

Operation put(HeaderSet headers)
              throws java.io.IOException
Throws:
java.io.IOException

JSR 82

Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 82 specification.