WebSocketJsonCodeExchangerInterface Class Reference

#include <websocket_json_codeexchanger.h>

Inheritance diagram for WebSocketJsonCodeExchangerInterface:

Detailed Description

WebSocket and JSON Python code communication for Cinema 4D and IDE(s).

Only 1 implementation of this interface is allowed and it should be singleton.

Public Member Functions

MAXON_METHOD BaseArray< WeakRef< const NetworkWebSocketConnectionRef > > * GetWebSockets ()
 

Private Member Functions

 MAXON_INTERFACE (WebSocketJsonCodeExchangerInterface, MAXON_REFERENCE_NORMAL, "net.maxonsdk.interfaces.codeexchanger.websocket_json")
 

Member Function Documentation

◆ MAXON_INTERFACE()

MAXON_INTERFACE ( WebSocketJsonCodeExchangerInterface  ,
MAXON_REFERENCE_NORMAL  ,
"net.maxonsdk.interfaces.codeexchanger.websocket_json"   
)
private

◆ GetWebSockets()

MAXON_METHOD BaseArray<WeakRef<const NetworkWebSocketConnectionRef> >* GetWebSockets ( )

Retrieves a list of ongoing connections.

Returns
Connection list with Cinema 4D and IDE.