Delegate CoherenceSync.OnAuthorityRequestedHandler
The delegate type of OnAuthorityRequested.
public delegate bool CoherenceSync.OnAuthorityRequestedHandler(ClientID requesterID, AuthorityType authorityType, CoherenceSync sync)
Parameters
requesterID
ClientIDThe ClientID of the requesting client.
authorityType
AuthorityType- The delegate type of .
sync
CoherenceSyncThe entity that the authority request is targeting.
Returns
- bool
Return true to accept the request for authority.
Constructors
OnAuthorityRequestedHandler(object, IntPtr)
public OnAuthorityRequestedHandler(object @object, IntPtr method)
Parameters
Methods
BeginInvoke(ClientID, AuthorityType, CoherenceSync, AsyncCallback, object)
public virtual IAsyncResult BeginInvoke(ClientID requesterID, AuthorityType authorityType, CoherenceSync sync, AsyncCallback callback, object @object)
Parameters
requesterID
ClientIDauthorityType
AuthorityTypesync
CoherenceSynccallback
AsyncCallbackobject
object
Returns
EndInvoke(IAsyncResult)
public virtual bool EndInvoke(IAsyncResult result)
Parameters
result
IAsyncResult
Returns
Invoke(ClientID, AuthorityType, CoherenceSync)
public virtual bool Invoke(ClientID requesterID, AuthorityType authorityType, CoherenceSync sync)
Parameters
requesterID
ClientIDauthorityType
AuthorityTypesync
CoherenceSync