Discuss this help topic in SecureBlackbox Forum

TElWebSocketSubProtocol.OnMessageReceived

TElWebSocketSubProtocol     See also     


Filter: C#  VB.NET  Pascal  C++  PHP  Java  


This event is fired when a message is received.

Declaration

[C#]
    event TSBWSMsgReceivedEvent OnMessageReceived;
    delegate void TSBWSMsgReceivedEvent(Object Sender, TElWebSocketMessage Msg);

[VB.NET]
    Event OnMessageReceived As TSBWSMsgReceivedEvent
    Delegate Sub TSBWSMsgReceivedEvent(ByVal Sender As Object, ByVal Msg As TElWebSocketMessage)

[Pascal]
    property OnMessageReceived : TSBWSMsgReceivedEvent;
    TSBWSMsgReceivedEvent = procedure(Sender : TObject; Msg : TElWebSocketMessage) of object;

[C++]
    void get_OnMessageReceived(TSBWSMsgReceivedEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnMessageReceived(TSBWSMsgReceivedEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBWSMsgReceivedEvent)(void * _ObjectData, TObjectHandle Sender, TElWebSocketMessageHandle Msg);

[PHP]
    TSBWSMsgReceivedEvent|callable|NULL get_OnMessageReceived()
    void set_OnMessageReceived(TSBWSMsgReceivedEvent|callable|NULL $Value)
    callable TSBWSMsgReceivedEvent(TObject $Sender, TElWebSocketMessage $Msg)

[Java]
    TSBWSMsgReceivedEvent getOnMessageReceived();
    void setOnMessageReceived(TSBWSMsgReceivedEvent Value);
    TSBWSMsgReceivedEvent.Callback OnMessageReceived = new TSBWSMsgReceivedEvent.Callback() {
        public void TSBWSMsgReceivedEventCallback(TObject Sender, TElWebSocketMessage Msg) {
            //...
        }
    }

Parameters

  • Msg - contains the received message.

Description

    This event is fired by TElWebSocketSubProtocol when a message is received.

See also:     Owner    

Discuss this help topic in SecureBlackbox Forum