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
Class ServerRequestHandler

java.lang.Object
  extended by javax.obex.ServerRequestHandler

public class ServerRequestHandler
extends java.lang.Object

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


Constructor Summary
protected ServerRequestHandler()
           
 
Method Summary
 HeaderSet createHeaderSet()
           
 long getConnectionID()
           
 void onAuthenticationFailure(byte[] userName)
           
 int onConnect(HeaderSet request, HeaderSet reply)
           
 int onDelete(HeaderSet request, HeaderSet reply)
           
 void onDisconnect(HeaderSet request, HeaderSet reply)
           
 int onGet(Operation op)
           
 int onPut(Operation op)
           
 int onSetPath(HeaderSet request, HeaderSet reply, boolean backup, boolean create)
           
 void setConnectionID(long id)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerRequestHandler

protected ServerRequestHandler()
Method Detail

createHeaderSet

public final HeaderSet createHeaderSet()

setConnectionID

public void setConnectionID(long id)

getConnectionID

public long getConnectionID()

onConnect

public int onConnect(HeaderSet request,
                     HeaderSet reply)

onDisconnect

public void onDisconnect(HeaderSet request,
                         HeaderSet reply)

onSetPath

public int onSetPath(HeaderSet request,
                     HeaderSet reply,
                     boolean backup,
                     boolean create)

onDelete

public int onDelete(HeaderSet request,
                    HeaderSet reply)

onPut

public int onPut(Operation op)

onGet

public int onGet(Operation op)

onAuthenticationFailure

public void onAuthenticationFailure(byte[] userName)

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.