net.rim.device.api.io.nfc.llcp
Interface LLCPConnectionNotifier

All Superinterfaces:
Connection

public interface LLCPConnectionNotifier
extends Connection

Returned by Connector.open() when your application requests a LLCP connection for listening. Provides an acceptAndOpen() method to wait for incoming connection requests.

Since:
BlackBerry API 7.1.0

Method Summary
 LLCPConnection acceptAndOpen()
          Listens for an LLCP connection on the service name or SAP associated with this connection.
 
Methods inherited from interface javax.microedition.io.Connection
close
 



Method Detail

acceptAndOpen

LLCPConnection acceptAndOpen()
                             throws IOException
Listens for an LLCP connection on the service name or SAP associated with this connection. You should not invoke this method on the main event thread. The acceptAndOpen() method blocks the thread until an incoming LLCP connection is established.

Returns:
Incoming LLCPConnection.
Throws:
IOException - If the connection is canceled prior to receiving an incoming LLCP connection.
Since:
BlackBerry API 7.1.0





Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal