@center( Not written yet )
RPC2_CreateMgrp( out RPC2_Handle *MgroupHandle, in RPC2_McastIdent *McastAddr, in RPC2_PortalIdent *McastPortal, in RPC2_SubsysIdent *Subsys, in RPC2_Integer SecurityLevel, in RPC2_EncryptionKey SessionKey, in RPC2_Integer EncryptionType, in long SideEffectType )
An integer, unique to a specific client, returned by the call. When combined with the clients network address, it uniquely identifies this mgroup connection. This is not necessarily a small-valued integer.,
The IP multicast address of the desired multicast group. This is the address that a server must use in a joingroup () system call. Only MGRPBYINETADDR is supported at present.,
The portal at which server (s) will be listening. All servers in the multicast group must be listening at the same portal.,
The RPC2 subsystem corresponding to this multicast group. Each server in the multicast group must have exported this subsystem.,
same as in RPC2_Bind().,
Encryption key to be used for all communication on this multicast channel. RPC2 will send this (securely) to each server that is added via a RPC2_AddToMgrp)() call.,
same as in RPC2_Bind)().,
All went well,
Side effect routines reported failure.,
Side effect routines reported failure.,
Some other mishap occurred.,
Creates a new RPC2 mgroup identifier, unique to a particular < multicastaddr, portal, subsystem > combination, and returns it to the caller. Once the identifier has been assigned, RPC2 mgroup members may be added and deleted via the RPC2_AddToMgrp) and RPC2_RemoveFromMgrp calls. The security level, encryption type and side effect types of each added connection must match the corresponding parameters of this RPC2_CreateMgrp call.
RPC2_AddToMgrpAdd( in RPC2_Handle MgroupHandle, in RPC2_Handle) ConnHandle )
identifies the mgroup to which the new server should be added,
identifies the connection to be added to the mgroup,
All went well,
MgroupHandle is not a valid mgroup,
ConnHandle is not a valid connection.,
SecurityLevel or EncryptionType of ConnHandle does not match that of Mgroup,
ConnHandle is already a member of Mgroup,
A call is in progress on MgroupHandle.,
A call is in progress on ConnHandle.,
Error code returned by side effect routine.,
Error code returned by side effect routine.,
The remote site corresponding to ConnHandle sent an explicit negative acknowledgement. This can happen if that site thought you were dead, or if someone at that site unbound your connection.,
The remote site corresponding to ConnHandle has been deemed dead or unreachable,
Some strange mishap occurred.,
Adds ConnHandle to the mgroup associated with MgroupHandle. RPC2 contacts the remote site to initialize its mgroup connection information. The security level, encryption type and side effect type of the connection being added must match that specified when Mgroup was defined.
RPC2_RemoveFromMgrp( in RPC2_Handle MgroupHandle, in ConnHandle )
the mgroup to be shrunk,
the connection to be removed from MgroupHandle,
MgroupHandle does not refer to a valid mgroup connection,
ConnHandle is bogus.,
ConnHandle is not a member of MgroupHandle.,
A call is in progress on MgroupHandle,
Some strange mishap occurred,
`Removes ConnHandle from the mgroup associated with MgroupHandle
RPC2_DeleteMgrp ( in RPC2_Handle MgroupHandle )
the mgroup to be deleted,
All went well,
MgroupHandle is bogus.,
A call is in progress on MgroupHandle.,
Some other mishap occurred.,
Deletes an mgroup, removing any existing members before deletion