|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.eurotech.framework.core.bluetooth.BluetoothConnectorServiceImpl
public class BluetoothConnectorServiceImpl
Field Summary |
---|
Fields inherited from interface com.eurotech.framework.bluetooth.BluetoothConnectorService |
---|
READ, READ_WRITE, WRITE |
Constructor Summary | |
---|---|
BluetoothConnectorServiceImpl()
|
Method Summary | |
---|---|
protected void |
activate(org.osgi.service.component.ComponentContext componentContext)
|
protected void |
deactivate(org.osgi.service.component.ComponentContext componentContext)
|
javax.microedition.io.Connection |
open(String name)
Create and open a Connection. |
javax.microedition.io.Connection |
open(String name,
int mode)
Create and open a Connection. |
javax.microedition.io.Connection |
open(String name,
int mode,
boolean timeouts)
Create and open a Connection. |
DataInputStream |
openDataInputStream(String name)
Create and open a connection input stream. |
DataOutputStream |
openDataOutputStream(String name)
Create and open a connection output stream. |
InputStream |
openInputStream(String name)
Create and open a connection input stream. |
OutputStream |
openOutputStream(String name)
Create and open a connection output stream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BluetoothConnectorServiceImpl()
Method Detail |
---|
protected void activate(org.osgi.service.component.ComponentContext componentContext)
protected void deactivate(org.osgi.service.component.ComponentContext componentContext)
public javax.microedition.io.Connection open(String name) throws IOException
BluetoothConnectorService
open
in interface BluetoothConnectorService
open
in interface org.osgi.service.io.ConnectorService
name
- The URL for the connection.
IOException
- If some other kind of I/O error occurs.public javax.microedition.io.Connection open(String name, int mode) throws IOException
BluetoothConnectorService
open
in interface BluetoothConnectorService
open
in interface org.osgi.service.io.ConnectorService
name
- The URL for the connection.mode
- The access mode.
IOException
- If some other kind of I/O error occurs.public javax.microedition.io.Connection open(String name, int mode, boolean timeouts) throws IOException
BluetoothConnectorService
open
in interface BluetoothConnectorService
open
in interface org.osgi.service.io.ConnectorService
name
- The URL for the connection.mode
- The access mode.timeouts
- A flag to indicate that the caller wants timeout exceptions
IOException
- If some other kind of I/O error occurs.public DataInputStream openDataInputStream(String name) throws IOException
BluetoothConnectorService
openDataInputStream
in interface BluetoothConnectorService
openDataInputStream
in interface org.osgi.service.io.ConnectorService
name
- The URL for the connection.
IOException
- If some other kind of I/O error occurs.public DataOutputStream openDataOutputStream(String name) throws IOException
BluetoothConnectorService
openDataOutputStream
in interface BluetoothConnectorService
openDataOutputStream
in interface org.osgi.service.io.ConnectorService
name
- The URL for the connection.
IOException
- If some other kind of I/O error occurs.public InputStream openInputStream(String name) throws IOException
BluetoothConnectorService
openInputStream
in interface BluetoothConnectorService
openInputStream
in interface org.osgi.service.io.ConnectorService
name
- The URL for the connection.
IOException
- If some other kind of I/O error occurs.public OutputStream openOutputStream(String name) throws IOException
BluetoothConnectorService
openOutputStream
in interface BluetoothConnectorService
openOutputStream
in interface org.osgi.service.io.ConnectorService
name
- The URL for the connection.
IOException
- If some other kind of I/O error occurs.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |