public interface SIPProbeEventsHandler
Modifier and Type | Method and Description |
---|---|
default void |
onProbeError(Account account,
ProbeState curState,
ExtendedError error)
Notify if Probe error occurs
An error occured during user probing.
|
default void |
onProbeFailed(Account account,
ExtendedError error)
Notify if Probe fails
The probing process was unsuccesful.
|
default void |
onProbeState(Account account,
ProbeState newState)
Notify if Probe change in state occurs
The probing process has entered another stage
|
default void |
onProbeSuccess(Account account,
TransportType transport)
Notify if Probe was successful
The probing was successful.
|
default void onProbeError(Account account, ProbeState curState, ExtendedError error)
account
- The accountcurState
- The state that generated the error.error
- Code of the errorProbeState ExtendedError
default void onProbeState(Account account, ProbeState newState)
account
- The accountnewState
- The new stateProbeState
default void onProbeSuccess(Account account, TransportType transport)
account
- The accounttransport
- The recommended transportTransportType
default void onProbeFailed(Account account, ExtendedError error)
account
- The accounterror
- The final error codeExtendedError