Class TCPCommunicationLayer
In-Built TCP layer that uses VoltRpc's TCPClient and TCPHost
Inherited Members
Namespace: VoltstroStudios.UnityWebBrowser.Communication
Assembly: .dll
Syntax
public sealed class TCPCommunicationLayer : CommunicationLayer
Fields
| Edit this page View SourceinPort
The in port to communicate on
Declaration
public int inPort
Field Value
Type | Description |
---|---|
int |
outPort
The out port to communicate on
Declaration
public int outPort
Field Value
Type | Description |
---|---|
int |
Methods
| Edit this page View SourceCreateClient()
Called when the Client needs to be created
Declaration
public override Client CreateClient()
Returns
Type | Description |
---|---|
Client |
Overrides
| Edit this page View SourceCreateHost()
Called when the Host needs to be created
Declaration
public override Host CreateHost()
Returns
Type | Description |
---|---|
Host |
Overrides
| Edit this page View SourceGetIpcSettings(out object, out object, out string)
Gets all settings needed for the IPC
Declaration
public override void GetIpcSettings(out object outLocation, out object inLocation, out string assemblyLocation)
Parameters
Type | Name | Description |
---|---|---|
object | outLocation | The "location" (whether that be a pipe name or port) that will allow communication from the "outside" (The engine.) |
object | inLocation | The "location" (whether that be a pipe name or port) that will allow the client to communication to the engine. |
string | assemblyLocation | The location of the assembly that the engine needs to load. To provide the location of an assembly Location can be used. This can be null to say that no additional assembly is needed. |