Class NetworkContentServer
- Assembly
- MonoGame.Framework.Content.Pipeline.dll
A ContentServer that is hosting a network.
public class NetworkContentServer : ContentServer
- Inheritance
-
NetworkContentServer
- Inherited Members
Properties
Port
Server port to use for the listening for content requests in Server mode.
[ContentServerParameter("port", "The port to be used for the content server mode.")]
public ushort Port { get; init; }
Property Value
- ushort
7771 by default.
Methods
NotifyContentRequestCompiled()
The content server calls this event once it has finished compiling content.
This method is called by the main thread and should be a non blocking call.
public override void NotifyContentRequestCompiled()
StartListening()
Requests the content server to start listening for the events.
This method is called by the main thread and should be a non blocking call.
public override void StartListening()
StopListening()
Requests the content server to stop listening for the events.
This method is called by the main thread and should be a non blocking call.
public override void StopListening()