Diffusion .NET Client Library
6.1.5
|
Default implementation of IChangePrincipalContextCallback{TC}. More...
Public Member Functions | |
virtual void | OnDiscard (TC context) |
Notification that a context was closed prematurely, typically due to a timeout or the session being closed. No further calls will be made for a context. More... | |
virtual void | OnPrincipalChanged (TC context) |
Notification that a request to change the session principal was successful. More... | |
virtual void | OnAuthenticationFailure (TC context) |
This will be called if an attempt to change the session principal failed because authentication failed at the server. This could be because the named principal was unknown or the supplied credentials were invalid. More... | |
Public Member Functions inherited from PushTechnology.ClientInterface.Client.Features.IContextCallback< in TContext > | |
void | OnDiscard (TContext context) |
Called to notify that a call context was closed prematurely, typically due to a timeout or the session being closed. More... | |
Default implementation of IChangePrincipalContextCallback{TC}.
This simply logs the OnPrincipalChanged callback at 'Debug' level and OnAuthenticationFailure at 'Warn' level. These methods may be overridden as required.
TC | The context object type. |
|
virtual |
This will be called if an attempt to change the session principal failed because authentication failed at the server. This could be because the named principal was unknown or the supplied credentials were invalid.
context | The context object supplied when making the call. May be null. |
Implements PushTechnology.ClientInterface.Client.Features.IChangePrincipalContextCallback< in TC >.
|
virtual |
Notification that a context was closed prematurely, typically due to a timeout or the session being closed. No further calls will be made for a context.
context |
|
virtual |
Notification that a request to change the session principal was successful.
context | The context object supplied when making the call. May be null. |
Implements PushTechnology.ClientInterface.Client.Features.IChangePrincipalContextCallback< in TC >.