Visual3D Game EngineAPI Documentation for XNA, C#, VB, and .NET
Handles Network Communication

Namespace: Visual3D.Networking
Assembly: Visual3D.Networking (in Visual3D.Networking.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

      
 C#  Visual Basic 
public class BroadcastMessage : NetCommand..::..CommandFromServer
Public Class BroadcastMessage _
	Inherits NetCommand..::..CommandFromServer

Members

               
 All Members  Constructors   Fields   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
NetCommand..::..BroadcastMessage(String)
Initializes a new instance of the NetCommand..::..BroadcastMessage class
NetCommand..::..BroadcastMessage(NetMessage)
Initializes a new instance of the NetCommand..::..BroadcastMessage class
ClientProcessCommand()()()() (Overrides NetCommand..::..ClientProcessCommand()()()().)
Clone()()()()
ConstructNetMessage()()()()
DoesServerRelayToAllClients
Upon receiving this command, indicates if the Server will auto-relay it to all other clients.
ID (Overrides NetCommand..::..ID.)
IsClientCommand (Inherited from NetCommand..::..CommandFromServer.)
IsInSessionCommand
Indicates that Command is intended for Players who are In a Session.
IsProcessedByNetworkThread
Indicates if processing of this command can occur on the Networking thread. If 'false', then processing of this command will be delegated to the main application thread.
IsRelayedCommandAlsoProcessedByServer
If this command is to be auto-relayed by the Server, indicates if Server should also Process the command too.
IsServerCommand (Inherited from NetCommand..::..CommandFromServer.)
MessageContents
Readable text format for the contents fo the NetMessage.
MessageText
Name
NetMessage
Reference to the underlying NetMessage that encapsulates the contents of this Command.
Player
Indicates Player that originated this command.
PlayerID
Indicates PlayerID that originated this Command.
PlayerName
Name of the Player that originated this Command.
ServerProcessCommand(NetServer)
Performs server processing when this command is received by the Server.
ToString()()()() (Overrides Object..::..ToString()()()().)

Inheritance Hierarchy

System..::..Object
  Visual3D.Networking..::..NetCommand
    Visual3D.Networking..::..NetCommand..::..CommandFromServer
      Visual3D.Networking..::..NetCommand..::..BroadcastMessage

See Also