|
| cXProtocolClient (cXProtocolDataMgr *pProtocolDataMgr, cStreamInput *pStreamRx, cStreamOutput *pStreamTx) |
|
virtual | ~cXProtocolClient () |
|
virtual bool | isClientSide () const override |
|
| STDMETHOD_ (PLEVEL_TYPE, get_PrivLevel)() const override |
|
| STDMETHOD_ (cString, get_Name)() const override |
|
void | InitClient (cStreamInput *pStreamRx, cStreamOutput *pStreamTx) |
|
HRESULT | Request_Error_Hello () |
|
HRESULT | Request_Interfaces (UID_t uid) |
|
HRESULT | Request_Interfaces (cXObject *pObj) |
|
HRESULT | Request_InterfaceDef (SCRIPTINTERFACEID_t bInterfaceID) |
|
HRESULT | Request_Props (UID_t uid, SCRIPTINTERFACEID_t bInterfaceID=SCRIPTINTERFACEID_MAX) |
|
HRESULT | Request_Props (cXObject *pObj, SCRIPTINTERFACEID_t bInterfaceID=SCRIPTINTERFACEID_MAX) |
|
HRESULT | Request_Props (cXObject *pObj, const cScriptableInterfaceDef *pInterface) |
|
HRESULT | Request_Prop (UID_t uid, SCRIPTINTERFACEID_t bInterfaceID, SCRIPTPROPID_t bPropIndex) |
|
HRESULT | Request_Prop (cXObject *pObj, const cScriptableProp *pProp) |
|
HRESULT | Set_Prop (UID_t uid, SCRIPTINTERFACEID_t bInterfaceID, SCRIPTPROPID_t bPropIndex, const cVariant &vVal) |
|
HRESULT | Set_Prop (cXObject *pObj, const cScriptableProp *pProp, const cVariant &vVal) |
|
HRESULT | Request_TagDef (ATOMCODE_t idTag) |
|
HRESULT | Set_TagDef (UID_t uid, cStringA sName, const cVariant &vVal) |
|
HRESULT | Request_Tags (UID_t uid) |
|
HRESULT | Set_Tag (UID_t uid, ATOMCODE_t idTag, const cVariant &vVal) |
|
HRESULT | Request_Invoke (UID_t uid, SCRIPTINTERFACEID_t bInterfaceID, SCRIPTPROPID_t bPropIndex, const cVariant &vValArgs) |
|
HRESULT | Request_Invoke (cXObject *pObj, const cScriptableMethod *pMethod, const cVariant &vValArgs) |
|
HRESULT | Request_Invoke (cXObject *pObj, const ATOMCHAR_t *pszMethod, const cVariant &vValArgs) |
|
HRESULT | Request_Ping (TIMESYSD_t nTimeThrottle=cTimeSys::k_FREQ *10) |
|
virtual cStringA | get_ConnectName () const override |
| get a debug name for the connection. More...
|
|
virtual HRESULT | RequestFile (const FILECHAR_t *pszSrcName, const FILECHAR_t *pszDesPath, IStreamProgressCallback *pProgress, FILE_SIZE_t nOffsetStart=0, FILE_SIZE_t *pnRequestSizeEst=nullptr) override |
|
virtual HRESULT | SendFile (const FILECHAR_t *pszSrcPath, const FILECHAR_t *pszDestName, IStreamProgressCallback *pProgress, FILE_SIZE_t nOffsetStart=0, FILE_SIZE_t nSize=(FILE_SIZE_t) -1) override |
|
| cXProtocolBase (cXProtocolDataMgr *pProtocolDataMgr) |
|
virtual | ~cXProtocolBase () |
|
cXProtocolDataMgr * | get_DataMgr () const |
|
virtual | ~ IFileCopier () |
|
virtual HRESULT | Connect (const FILECHAR_t *pszDevice) |
|
virtual HRESULT | SendAttr (const FILECHAR_t *pszDestName, cTimeFile timeChanged) |
|
|
HRESULT | on_Interfaces () |
| Get a list of cXObject definitions. More...
|
|
HRESULT | on_InterfaceDef () |
| Get the interface definition info from the server. More...
|
|
HRESULT | on_Prop () |
| Get prop data. response from my request for a prop. More...
|
|
HRESULT | on_Props () |
| Get props. response from my request for a props. More...
|
|
HRESULT | on_Invoke () |
| The response from the method invocation. More...
|
|
HRESULT | on_TagDef () |
|
HRESULT | on_Tags () |
|
HRESULT | on_Ping () |
|
HRESULT | onSet_File () |
|
virtual HRESULT | onX_Error (HRESULT hResRet, const cVariant &vVal) override |
|
virtual HRESULT | onX_Interfaces (UID_t uid, BYTE bInterfaceQty, const SCRIPTINTERFACEID_t *pbInterfaces) |
|
virtual HRESULT | onX_InterfaceDef (cScriptableInterfaceDynamic *pInterfaceDef) |
|
virtual HRESULT | onX_Invoke (UID_t uid, SCRIPTINTERFACEID_t bInterfaceID, SCRIPTPROPID_t bPropIndex, const cVariant &vVal) |
|
virtual HRESULT | onX_TagDef (cScriptTagDef *pTagDef) |
|
virtual HRESULT | onX_Tag (cXObject *pObj, ATOMCODE_t idTag, const cVariant &vVal) |
|
virtual HRESULT | onX_Ping (TIMESYS_t dwTime, const char *pszName) |
|
virtual HRESULT | ProcessStreamRxMsg () override |
|
| cXProtocolRx (cXProtocolBase &rBase, cStreamInput *pStreamRx) |
|
virtual | ~cXProtocolRx () |
|
virtual HRESULT | onXSet_Prop (cXObject *pObj, const cScriptableProp *pProp, const cVariant &vVal) |
|
virtual HRESULT | onXReq_Invoke (cXObject *pObj, const cScriptableMethod *pMethod, const cVariant &vArgs, OUT cVariant &vValRet) |
|
virtual HRESULT | onXSet_PropN (UID_t uidLastRx, const ATOMCHAR_t *pszPropName, ATOMCODE_t nPropName, const cVariant &vVal) |
|
virtual HRESULT | onXReq_InvokeN (UID_t uidLastRx, const ATOMCHAR_t *pszMethodName, ATOMCODE_t nMethodName, const cVariant &vArgs) |
|
virtual HRESULT | onXSet_File (const FILECHAR_t *pszReqName, size_t dwTotalLen) |
|
void | InitRx () |
|
HRESULT | ReadUID () |
|
HRESULT | on_Error () |
|
HRESULT | onSet_PropN () |
|
HRESULT | onReq_InvokeN () |
|
HRESULT | onSet_File () |
|
HRESULT | onSet_FileNext () |
|
cStreamInput & | get_StreamRx () |
|
virtual HRESULT | ProcessStreamPacket () |
|
void | InitTx () |
|
HRESULT | Send_MsgPropName (const ATOMCHAR_t *pszPropName) |
|
cStreamOutput & | get_StreamTx () const |
|
| cXProtocolTx (cXProtocolBase &rBase, cStreamOutput *pStreamTx) |
|
virtual | ~cXProtocolTx () |
|
bool | IsTxMsgBuilding () const |
|
HRESULT | Send_MsgHeader (XPROTO_t bMsg) |
|
HRESULT | Send_MsgHeaderUID (XPROTO_t bMsg, UID_t uid) |
|
void | Send_MsgEnd () |
|
HRESULT | Send_Error (HRESULT hResRet, const cVariant &vVal) |
|
HRESULT | Send_PropN (UID_t uid, const ATOMCHAR_t *pszPropName, const cVariant &vVal) |
|
HRESULT | Send_PropN (cXObject *pObj, const ATOMCHAR_t *pszPropName, const cVariant &vValRet) |
|
HRESULT | Send_PropN (cXObject *pObj, const cScriptableProp *pProp, const cVariant &vValRet) |
|
HRESULT | Request_InvokeN (UID_t uid, const ATOMCHAR_t *pszPropName, const cVariant &vArgs) |
|
HRESULT | Request_InvokeN (UID_t uid, const ATOMCHAR_t *pszPropName) |
|
HRESULT | Request_InvokeN (cXObject *pObj, const ATOMCHAR_t *pszPropName, const cVariant &vArgs) |
|
HRESULT | Request_InvokeN (cXObject *pObj, const ATOMCHAR_t *pszPropName) |
|
HRESULT | Request_InvokeN (cXObject *pObj, const cScriptableMethod *pMethod, const cVariant &vArgs) |
|
HRESULT | Send_FileChecked (const FILECHAR_t *pszSrcPath, const FILECHAR_t *pszDestName) |
|
HRESULT | Send_File (const FILECHAR_t *pszSrcPath, const FILECHAR_t *pszDestName, FILE_SIZE_t nOffsetStart, FILE_SIZE_t nSize) |
|
HRESULT | Send_FileNext () |
|
This is the client. I want access to a servers objects. This is a client side connection to a server.
- Note
- Object UID=0 is always the gateway object. XObjType=0,index=0
-
Authentication and encryption are outside the scope of this class.