void ConnectionOrientedSocketIO::Send(UnixSocketIOBuffer* aBuffer) { MOZ_ASSERT(MessageLoopForIO::current() == GetIOLoop()); EnqueueData(aBuffer); AddWatchers(WRITE_WATCHER, false); }
void BluetoothDaemonConnectionIO::Send(UnixSocketIOBuffer* aBuffer) { MOZ_ASSERT(aBuffer); EnqueueData(aBuffer); AddWatchers(WRITE_WATCHER, false); }
void BluetoothDaemonConnectionIO::Send(BluetoothDaemonPDU* aPDU) { MOZ_ASSERT(mConsumer); MOZ_ASSERT(aPDU); mConsumer->StoreUserData(*aPDU); // Store user data for reply EnqueueData(aPDU); AddWatchers(WRITE_WATCHER, false); }
void UnixSocketConsumerIO::Send(UnixSocketRawData* aData) { EnqueueData(aData); AddWatchers(WRITE_WATCHER, false); }