Confirmed users
149
edits
(→Socket) |
(→Socket) |
||
Line 73: | Line 73: | ||
===== Socket ===== | ===== Socket ===== | ||
// Created by nsIDOMBluetoothDevice | |||
interface nsIDOMBluetoothSocket : nsISupports | interface nsIDOMBluetoothSocket : nsISupports | ||
{ | { | ||
void close(); | void close(); | ||
void connect(); | void connect(); | ||
jsval read(in unsigned long length); | |||
void write(in jsval dataBuffer, in unsigned long offset, in unsigned long length); | |||
nsIDOMBluetoothDevice getRemoteDevice(); | nsIDOMBluetoothDevice getRemoteDevice(); | ||
}; | |||
// Created by nsIDOMBluetoothAdapter | |||
interface nsIDOMBluetoothServerSocket : nsISupports | |||
{ | |||
void close(); | |||
nsIDOMBluetoothSocket accept(); | |||
}; | }; | ||