Discuss this help topic in SecureBlackbox Forum


TElWebSocketSubProtocol     See also     

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

This event is fired when a message is received.


    event TSBWSMsgReceivedEvent OnMessageReceived;
    delegate void TSBWSMsgReceivedEvent(Object Sender, TElWebSocketMessage Msg);

    Event OnMessageReceived As TSBWSMsgReceivedEvent
    Delegate Sub TSBWSMsgReceivedEvent(ByVal Sender As Object, ByVal Msg As TElWebSocketMessage)

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

    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);

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

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


  • Msg - contains the received message.


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

See also:     Owner    

Discuss this help topic in SecureBlackbox Forum