Public Member Functions | |
| HRESULT | GetNetworkSpaceOwner ([out, retval] BSTR *pbstrNetworkSpaceOwner) |
| HRESULT | GetNetworkSpace ([out, retval] IRsNode **ppNetworkSpaceNode) |
| HRESULT | CreateNetworkSpace ([out, retval] IRsNode **ppNetworkSpaceNode) |
| HRESULT | FindInNetworkSpace ([in] BSTR bstrName,[out, retval] IRsNode **ppNtNode) |
| HRESULT | CreateClient ([in] BSTR bstrName,[out, retval] IRsNode **ppNtClientNode) |
| HRESULT | AuthorizeLogin ([in] IRsNode *pSSSNode) |
| HRESULT | SerializeRepository ([in] IRsNEBlockRepository *pRepository,[in] RtBOOL bAddNetHeader,[in] RtBOOL bDeleteOnRelease,[out, retval] IStream **ppStm) |
| HRESULT | DeserializeRepository ([in] IRsNEBlockRepository *pRepository,[in] IRsBSEIdRegister *pBSERegister,[in] RtBOOL bNewIdAllowed,[in] IStream *pStm) |
| HRESULT | SerializeContext ([in] IRsNode *pNode,[out] IRsNtCtxStorage **ppNtCtxStorage,[out] IRdNtCtxInfo **ppCtxInfo) |
| HRESULT | DeleteSpaceContent ([in] IRsNode *pNode) |
| HRESULT | CreateStreamFromBuffer ([in] void *pBuffer,[in] RtDWORD dwBufLen,[out, retval] IStream **ppStm) |
| HRESULT | ZipStream ([in] IStream *pInStm,[in] NtZLibLevel eCmprsLev,[in] RtBOOL bAddNtHeader,[in] RtBOOL bDeleteOnRelease,[out, retval] IStream **ppOutStm) |
| HRESULT | CreateTextChatMsg ([in] RtCSNID csnidClient,[in] BSTR bstrName,[in] BSTR bstrText,[out, retval] IRdNtChatMsg **ppChatMsg) |
| HRESULT | GetServerFreePort ([out, retval] WORD *pwPort) |
| HRESULT | SplitStreamToMessages ([in] RtDWORD dwMsgID,[in] IStream *pStm,[in] RtDWORD dwReservedSize,[out] BYTE ***pppbaMsgs,[out] RtDWORD *pdwNumMsgs,[out] RtDWORD *pdwFirstMsgSize,[out] RtDWORD *pdwRestMsgSize) |
| HRESULT | AssembleSplittedMsg ([in] RtNtSplittedMsgRec *pSplMsgRec,[in] RtNtSplittedMsg *pMsg,[in] RtDWORD dwMsgSize,[out] BYTE **ppOrigMsg) |
| HRESULT | DeletePaMsgs ([in] BYTE **ppaMsgs,[in] RtDWORD dwNumSpltMsgs) |
| HRESULT | FindServerByPort ([in] IRsNode *pNode,[in] RtDWORD dwPort,[out, retval] IRsNode **ppServerControl) |
| HRESULT | RemoveClients (void) |
| HRESULT | AddRejectedBlockIntoRepository ([in] IRsNEBlockRepository *pRepository,[in] RtDWORD dwNSEBlockId) |
| HRESULT | FirstNodeInNetSpaceByCLSID ([in] const GUID *piid,[out, retval] IRsNode **ppNode) |
| HRESULT | GetNetworkProperties ([in] RtBOOL bCreate,[out, retval] IRsNode **ppNetPropNode) |
| HRESULT | CheckToAutoOpenPanel ([in] IRsNode *pNode) |
| HRESULT | ReplaceAddrInSSS ([in] IRsNode *pNode,[in] BSTR bstrOrigAddr,[in] BSTR bstrNewAddr) |
| HRESULT | PlaySoundFromRes ([in] RtInstance hInst,[in] RtDWORD dwResId,[in] RtBOOL bPlayAlways) |
| HRESULT | GetAvatarsMatrix ([in] IRsNode *pAvatarNode,[out, retval] IRdMatrixf **ppMatrix) |
| HRESULT | CreateSharedSpace ([in] BSTR bstrOwnerSpace,[in] BSTR bstrSharedSpace,[out, retval] IRsNode **ppSharedSpaceNode) |
| HRESULT | DeserializeObject ([in] IRsPersistStream *pPersistStream,[in] RtBYTE *pData,[in] RtDWORD dwDataSize) |
| HRESULT IRfNetworkFn::GetNetworkSpaceOwner | ( | [out, retval] BSTR * | pbstrNetworkSpaceOwner | ) |
Returns Network space owner string ID.
Standard HRESULT processing can be applied to the result.
| HRESULT IRfNetworkFn::GetNetworkSpace | ( | [out, retval] IRsNode ** | ppNetworkSpaceNode | ) |
Returns network space encapsulator.
S_OK if found, S_FALSE if it does not exist, or other error code.
| HRESULT IRfNetworkFn::CreateNetworkSpace | ( | [out, retval] IRsNode ** | ppNetworkSpaceNode | ) |
Returns network space encapsulator.
S_OK if found or successfully created, or other error code.
| HRESULT IRfNetworkFn::FindInNetworkSpace | ( | [in] BSTR | bstrName, | |
| [out, retval] IRsNode ** | ppNtNode | |||
| ) |
Find node by its name in network space.
| bstrName | [in] Name of the node. |
S_OK if found, S_FALSE if not found or other standard error code.
| HRESULT IRfNetworkFn::CreateClient | ( | [in] BSTR | bstrName, | |
| [out, retval] IRsNode ** | ppNtClientNode | |||
| ) |
Create client in network space.
| bstrName | [in] Name of the client. |
Standard HRESULT processing can be applied to the result.
| HRESULT IRfNetworkFn::AuthorizeLogin | ( | [in] IRsNode * | pSSSNode | ) |
Create RnAuthLogin node in network space and activate it.
| pSSSNode | [in] Shared Space Settings object. |
| HRESULT IRfNetworkFn::SerializeRepository | ( | [in] IRsNEBlockRepository * | pRepository, | |
| [in] RtBOOL | bAddNetHeader, | |||
| [in] RtBOOL | bDeleteOnRelease, | |||
| [out, retval] IStream ** | ppStm | |||
| ) |
Called to serialize repository.
| pRepository | [in] Repository that will be serialized. | |
| bAddNetHeader | [in] If TRUE, the network header will be added to begining of the stream. | |
| bDeleteOnRelease | [in] . |
Standard HRESULT processing can be applied to the result.
| HRESULT IRfNetworkFn::DeserializeRepository | ( | [in] IRsNEBlockRepository * | pRepository, | |
| [in] IRsBSEIdRegister * | pBSERegister, | |||
| [in] RtBOOL | bNewIdAllowed, | |||
| [in] IStream * | pStm | |||
| ) |
Called to deserialize repository.
| pRepository | [in] Repository that will be serialized. | |
| pBSERegister | [in] Identification register | |
| bNewIdAllowed | [in] Set TRUE to allow Identification register modification (usually TRUE on server) | |
| pStm | [in] Stream from which will be repository deserialized. |
| HRESULT IRfNetworkFn::SerializeContext | ( | [in] IRsNode * | pNode, | |
| [out] IRsNtCtxStorage ** | ppNtCtxStorage, | |||
| [out] IRdNtCtxInfo ** | ppCtxInfo | |||
| ) |
Called to serialize given context.
| pNode | [in] Context that will be serialized. | |
| ppNtCtxStorage | [out] Returns structure storing serialized context. | |
| ppCtxInfo | [out] Info DO about the serialized context. |
| HRESULT IRfNetworkFn::DeleteSpaceContent | ( | [in] IRsNode * | pNode | ) |
Called to delete content of given node together with selected network related connectors.
| pNode | [in] Specify node of Dependency Graph of the content you want to delete. |
| HRESULT IRfNetworkFn::CreateStreamFromBuffer | ( | [in] void * | pBuffer, | |
| [in] RtDWORD | dwBufLen, | |||
| [out, retval] IStream ** | ppStm | |||
| ) |
Create stream from buffer.
| pBuffer | [in] The input buffer that you wish to send to stream. | |
| dwBufLen | [in] Buffer's length. |
Standard HRESULT processing can be applied to the result.
| HRESULT IRfNetworkFn::ZipStream | ( | [in] IStream * | pInStm, | |
| [in] NtZLibLevel | eCmprsLev, | |||
| [in] RtBOOL | bAddNtHeader, | |||
| [in] RtBOOL | bDeleteOnRelease, | |||
| [out, retval] IStream ** | ppOutStm | |||
| ) |
Zip stream.
| pInStm | [in] Input stream. | |
| eCmprsLev | [in] The compression level (see NtZLibLevel). | |
| bAddNtHeader | [in] If TRUE, default stream network header will be added (see RtNtZippedMsg). | |
| bDeleteOnRelease | [in] If TRUE, the stream will be released when no longer referenced. |
| HRESULT IRfNetworkFn::CreateTextChatMsg | ( | [in] RtCSNID | csnidClient, | |
| [in] BSTR | bstrName, | |||
| [in] BSTR | bstrText, | |||
| [out, retval] IRdNtChatMsg ** | ppChatMsg | |||
| ) |
Create Chat Text Message Data object.
| csnidClient | [in] Client ID. | |
| bstrName | [in] Client alias. | |
| bstrText | [in] Text of the message. |
Standard HRESULT processing can be applied to the result.
| HRESULT IRfNetworkFn::GetServerFreePort | ( | [out, retval] WORD * | pwPort | ) |
Find a free communication port for server.
| HRESULT IRfNetworkFn::SplitStreamToMessages | ( | [in] RtDWORD | dwMsgID, | |
| [in] IStream * | pStm, | |||
| [in] RtDWORD | dwReservedSize, | |||
| [out] BYTE *** | pppbaMsgs, | |||
| [out] RtDWORD * | pdwNumMsgs, | |||
| [out] RtDWORD * | pdwFirstMsgSize, | |||
| [out] RtDWORD * | pdwRestMsgSize | |||
| ) |
Split Stream into small messages.
| dwMsgID | [in] Messages ID. | |
| pStm | [in] Input stream. | |
| dwReservedSize | [in] Size in bytes that will be added before the message itself.
| |
| pppbaMsgs | [out] Created output structure (array with pointers to messages). | |
| pdwNumMsgs | [out] Number of created messages (pppbaMsgs array's size). | |
| pdwFirstMsgSize | [out] Size of the first message. | |
| pdwRestMsgSize | [out] Size of remainder of the messages. |
| HRESULT IRfNetworkFn::AssembleSplittedMsg | ( | [in] RtNtSplittedMsgRec * | pSplMsgRec, | |
| [in] RtNtSplittedMsg * | pMsg, | |||
| [in] RtDWORD | dwMsgSize, | |||
| [out] BYTE ** | ppOrigMsg | |||
| ) |
Use this method to assemble received split message.
| pSplMsgRec | [in] Pointer to queue structure. | |
| pMsg | [in] Received part of the original message. | |
| dwMsgSize | [in] Size of the received message. | |
| ppOrigMsg | [out]Returned pointer to original already assembled message when the last fragment has been added. |
| HRESULT IRfNetworkFn::DeletePaMsgs | ( | [in] BYTE ** | ppaMsgs, | |
| [in] RtDWORD | dwNumSpltMsgs | |||
| ) |
Delete ppaMsgs msg. structure created with SplitStreamToMessages method.
| ppaMsgs | [in] Pointer to the structure. | |
| dwNumSpltMsgs | [in] Number of messages in the structure. |
| HRESULT IRfNetworkFn::FindServerByPort | ( | [in] IRsNode * | pNode, | |
| [in] RtDWORD | dwPort, | |||
| [out, retval] IRsNode ** | ppServerControl | |||
| ) |
Find first Server control by specified port number.
| pNode | [in] Space to begin the search (all the sub-spaces will be searched as well). | |
| dwPort | [in] The port number. |
S_OK If found
S_FALSE If not found, or other error.
| HRESULT IRfNetworkFn::RemoveClients | ( | void | ) |
Call to remove all client nodes from network space.
| HRESULT IRfNetworkFn::AddRejectedBlockIntoRepository | ( | [in] IRsNEBlockRepository * | pRepository, | |
| [in] RtDWORD | dwNSEBlockId | |||
| ) |
Create empty NSE Block, set it as rejected and add into repository.
| pRepository | [in] Repository to which the NSE Block will be added. | |
| dwNSEBlockId | [in] The NSEB ID. |
| HRESULT IRfNetworkFn::FirstNodeInNetSpaceByCLSID | ( | [in] const GUID * | piid, | |
| [out, retval] IRsNode ** | ppNode | |||
| ) |
Find the first node in Network space by class id.
| piid | [in] The node's class id. |
S_OK if the node is found and S_FALSE if the network space don't exist or the node is not found.
| HRESULT IRfNetworkFn::GetNetworkProperties | ( | [in] RtBOOL | bCreate, | |
| [out, retval] IRsNode ** | ppNetPropNode | |||
| ) |
Get network properties. The node is located in network space.
| bCreate | [in] If TRUE, then if the properties don't exist they are created together with the network space. |
S_OK if the node is found, S_FALSE if it isn't or other error if a problem occurs.
| HRESULT IRfNetworkFn::CheckToAutoOpenPanel | ( | [in] IRsNode * | pNode | ) |
Check whether panel for specified node should be opened.
Conditions:
| pNode | [in] Node that's panel should be checked. |
S_FALSE If it is not necessary to open panel.
other standard error.
| HRESULT IRfNetworkFn::ReplaceAddrInSSS | ( | [in] IRsNode * | pNode, | |
| [in] BSTR | bstrOrigAddr, | |||
| [in] BSTR | bstrNewAddr | |||
| ) |
Replace server addresses in SharedSpaceSettings objects.
| bstrObjName | [in] Object identification for which the replace will be executed (all sub-objects are enumerated). | |
| bstrOrigAddr | [in] Original address. | |
| bstrNewAddr | [in] New address. |
| HRESULT IRfNetworkFn::PlaySoundFromRes | ( | [in] RtInstance | hInst, | |
| [in] RtDWORD | dwResId, | |||
| [in] RtBOOL | bPlayAlways | |||
| ) |
Play sound from resource.
| hInst | [in] hInstance of the resources. If NULL the networks one is used. | |
| bstrNewAddr | [in] Sound resource id. | |
| bPlayAlways | [in] Play sound even if sound is disabled. |
This function is obsolete. Consider using MediaDV package sound support instead.
| HRESULT IRfNetworkFn::GetAvatarsMatrix | ( | [in] IRsNode * | pAvatarNode, | |
| [out, retval] IRdMatrixf ** | ppMatrix | |||
| ) |
Returns avatar's matrix in 3D Shared Space.
| pAvatarNode | [in] Specify avatar node. |
Standard HRESULT processing can be applied to the result.
| HRESULT IRfNetworkFn::CreateSharedSpace | ( | [in] BSTR | bstrOwnerSpace, | |
| [in] BSTR | bstrSharedSpace, | |||
| [out, retval] IRsNode ** | ppSharedSpaceNode | |||
| ) |
Create Shared Space encapsulator. If it already exists, a new one will not be created.
| bstrOwnerSpace | [in] ID of the space in which the Shared Space will be created. | |
| bstrSharedSpace | [in] String ID of the space. |
Standard HRESULT processing can be applied to the result.
| HRESULT IRfNetworkFn::DeserializeObject | ( | [in] IRsPersistStream * | pPersistStream, | |
| [in] RtBYTE * | pData, | |||
| [in] RtDWORD | dwDataSize | |||
| ) |
Deserialize object from buffer.
| pPersistStream | [in] The IRsPersistStream interface of the object you want to load | |
| pData | [in] The buffer's pointer | |
| dwDataSize | [in] Buffer's length |
1.5.5