C# Class SensorShare.Network.NetworkMessage

Datei anzeigen Open project: MarkPaxton/SensorShare3 Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
GetBytes ( ) : byte[]

Returns the message translated into bytes

NetworkMessage ( Guid senderID, Guid destinationID, Guid messageID, NetworkMessageType type, byte data, int fragment, int fragments, int life ) : System
NetworkMessage ( byte bytes ) : System

Method Details

GetBytes() public method

Returns the message translated into bytes
public GetBytes ( ) : byte[]
return byte[]

NetworkMessage() public method

public NetworkMessage ( Guid senderID, Guid destinationID, Guid messageID, NetworkMessageType type, byte data, int fragment, int fragments, int life ) : System
senderID Guid
destinationID Guid
messageID Guid
type NetworkMessageType
data byte
fragment int
fragments int
life int
return System

NetworkMessage() public method

public NetworkMessage ( byte bytes ) : System
bytes byte
return System