[android-components](../../index.md) / [mozilla.components.feature.p2p.internal](../index.md) / [P2PInteractor](index.md) / [&lt;init&gt;](./-init-.md)

# &lt;init&gt;

`P2PInteractor(store: `[`BrowserStore`](../../mozilla.components.browser.state.store/-browser-store/index.md)`, view: `[`P2PView`](../../mozilla.components.feature.p2p.view/-p2-p-view/index.md)`, tabsUseCases: `[`TabsUseCases`](../../mozilla.components.feature.tabs/-tabs-use-cases/index.md)`, sessionUseCases: `[`SessionUseCases`](../../mozilla.components.feature.session/-session-use-cases/index.md)`, sender: `[`P2PFeatureSender`](../../mozilla.components.feature.p2p/-p2-p-feature/-p2-p-feature-sender/index.md)`, onClose: () -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`, connectionProvider: () -> `[`NearbyConnection`](../../mozilla.components.lib.nearby/-nearby-connection/index.md)`, outgoingMessages: `[`ConcurrentMap`](https://developer.android.com/reference/java/util/concurrent/ConcurrentMap.html)`<`[`Long`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)`, `[`Char`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-char/index.html)`>)`

Handle requests from [P2PView](../../mozilla.components.feature.p2p.view/-p2-p-view/index.md), including interactions with the extension.

