C# Class NewTOAPIA.Net.RegisterMessage

Show file Open project: Wiladams/NewTOAPIA

Public Properties

Property Type Description
confirmNumber System.Int32
groupIP System.Net.IPAddress
groupPort int
msgType MessageType
unicastPort int

Public Methods

Method Description
RegisterMessage ( MessageType msgTypeArg, IPAddress groupIPArg ) : System
RegisterMessage ( MessageType msgTypeArg, IPAddress groupIPArg, int groupPortArg ) : System
RegisterMessage ( MessageType msgTypeArg, IPAddress groupIPArg, int groupPortArg, Int32 confirmNumberArg ) : System
RegisterMessage ( MessageType msgTypeArg, IPAddress groupIPArg, int groupPortArg, Int32 confirmNumberArg, int unicastPortArg ) : System

The constructor for the RegisterMessage class. This constructor only initalizes the public property values.

ToString ( ) : String

A method for debugging purposes which converts a Register Message object to a nice formatted string.

Method Details

RegisterMessage() public method

public RegisterMessage ( MessageType msgTypeArg, IPAddress groupIPArg ) : System
msgTypeArg MessageType
groupIPArg System.Net.IPAddress
return System

RegisterMessage() public method

public RegisterMessage ( MessageType msgTypeArg, IPAddress groupIPArg, int groupPortArg ) : System
msgTypeArg MessageType
groupIPArg System.Net.IPAddress
groupPortArg int
return System

RegisterMessage() public method

public RegisterMessage ( MessageType msgTypeArg, IPAddress groupIPArg, int groupPortArg, Int32 confirmNumberArg ) : System
msgTypeArg MessageType
groupIPArg System.Net.IPAddress
groupPortArg int
confirmNumberArg System.Int32
return System

RegisterMessage() public method

The constructor for the RegisterMessage class. This constructor only initalizes the public property values.
public RegisterMessage ( MessageType msgTypeArg, IPAddress groupIPArg, int groupPortArg, Int32 confirmNumberArg, int unicastPortArg ) : System
msgTypeArg MessageType
groupIPArg System.Net.IPAddress
groupPortArg int
confirmNumberArg System.Int32
unicastPortArg int
return System

ToString() public method

A method for debugging purposes which converts a Register Message object to a nice formatted string.
public ToString ( ) : String
return String

Property Details

confirmNumber public property

The confirmation number sent back to the Client when confirming a join or sent to server when leaving.
public Int32,System confirmNumber
return System.Int32

groupIP public property

The group IP to join/leave by a request or getting confirmed.
public IPAddress,System.Net groupIP
return System.Net.IPAddress

groupPort public property

The group port to join/leave by a request or getting confirmed.
public int groupPort
return int

msgType public property

The message type.
public MessageType msgType
return MessageType

unicastPort public property

The RTP unicast port sent back to the Client after a Join request
public int unicastPort
return int