C# Class SoftLove.Communication.Publisher

Mostra file Open project: benkuper/SoftLove Class Usage Examples

Public Properties

Property Type Description
GESTE string
POSITION string
ZONE string

Public Methods

Method Description
Publisher ( string _ip = "*", int _port = 5555 ) : System

Creation d'un Publisher Les valeurs par defaut sont _ip = "*", _port = 5555

SendInfo ( string _id, string _info ) : void

Construit l'information avec un ID et une information Thrown when _id isn't in {Publisher.GESTE,Publisher.ZONE,Publisher.POSITION}

TestPublisher ( ) : void

Test le publisher

Private Methods

Method Description
BindSocket ( string _ip, int _port ) : void

Bind the socket to a specific IP and port IP can be "*" (= all interfaces)

Method Details

Publisher() public method

Creation d'un Publisher Les valeurs par defaut sont _ip = "*", _port = 5555
public Publisher ( string _ip = "*", int _port = 5555 ) : System
_ip string
_port int
return System

SendInfo() public method

Construit l'information avec un ID et une information Thrown when _id isn't in {Publisher.GESTE,Publisher.ZONE,Publisher.POSITION}
public SendInfo ( string _id, string _info ) : void
_id string
_info string
return void

TestPublisher() public static method

Test le publisher
public static TestPublisher ( ) : void
return void

Property Details

GESTE public_oe static_oe property

public static string GESTE
return string

POSITION public_oe static_oe property

public static string POSITION
return string

ZONE public_oe static_oe property

public static string ZONE
return string