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.bluetooth
Interface L2CAPConnection

All Superinterfaces:
javax.microedition.io.Connection

public interface L2CAPConnection
extends javax.microedition.io.Connection

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


Field Summary
static int DEFAULT_MTU
           
static int MINIMUM_MTU
           
 
Method Summary
 int getReceiveMTU()
           
 int getTransmitMTU()
           
 boolean ready()
           
 int receive(byte[] inBuf)
           
 void send(byte[] data)
           
 
Methods inherited from interface javax.microedition.io.Connection
close
 

Field Detail

DEFAULT_MTU

static final int DEFAULT_MTU
See Also:
Constant Field Values

MINIMUM_MTU

static final int MINIMUM_MTU
See Also:
Constant Field Values
Method Detail

getTransmitMTU

int getTransmitMTU()
                   throws java.io.IOException
Throws:
java.io.IOException

getReceiveMTU

int getReceiveMTU()
                  throws java.io.IOException
Throws:
java.io.IOException

send

void send(byte[] data)
          throws java.io.IOException
Throws:
java.io.IOException

receive

int receive(byte[] inBuf)
            throws java.io.IOException
Throws:
java.io.IOException

ready

boolean ready()
              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.