Class SocketMessageEventArgs
Event args for MessageReceived and MessageSent.
Inherited Members
Namespace: TehGM.Wolfringo.Socket
Assembly: Wolfringo.Core.dll
Syntax
[Serializable]
public class SocketMessageEventArgs : EventArgs
Constructors
| Improve this Doc View SourceSocketMessageEventArgs(SocketMessage)
Creates a new event args instance.
Declaration
public SocketMessageEventArgs(SocketMessage message)
Parameters
Type | Name | Description |
---|---|---|
SocketMessage | message | Socket message that was received/sent. |
SocketMessageEventArgs(SocketMessage, IEnumerable<Byte[]>)
Creates a new event args instance.
Declaration
public SocketMessageEventArgs(SocketMessage message, IEnumerable<byte[]> binaryMessages)
Parameters
Type | Name | Description |
---|---|---|
SocketMessage | message | Socket message that was received/sent. |
IEnumerable<Byte[]> | binaryMessages | Binary messages that were received/sent. |
Properties
| Improve this Doc View SourceBinaryMessages
Binary messages associated with this message. Might be null.
Declaration
public IEnumerable<byte[]> BinaryMessages { get; }
Property Value
Type | Description |
---|---|
IEnumerable<Byte[]> |
Message
The text message.
Declaration
public SocketMessage Message { get; }
Property Value
Type | Description |
---|---|
SocketMessage |