Package-level declarations
Types
Link copied to clipboard
Windows file mapping API へアクセスする JNA interface。
Link copied to clipboard
class SharedMemoryPollingSource(reader: SharedMemoryReader, pollingIntervalMs: Long, reconnectIntervalMs: Long, scope: CoroutineScope)
SharedMemoryReader を一定間隔でポーリングし、読み取ったバッファを bufferFlow として配信する。 open/close の排他制御用に単一の Mutex を保持しており、withReaderLock を通じて 呼び出し元固有の追加処理(接続判定など)を同じ排他制御の下で安全に行える。
Link copied to clipboard
interface SharedMemoryReader
Windows 共有メモリを読み取る reader。
Link copied to clipboard
class WindowsSharedMemoryReader(segmentName: String, sizeBytes: Int, isWindows: Boolean = System.getProperty("os.name").contains("Windows", ignoreCase = true), kernel32: Kernel32FileMapping = Kernel32FileMapping.INSTANCE) : SharedMemoryReader
Windows 共有メモリを読み取る reader。