OpenScape
V3.2, Revision 044 20100322

com.siemens.symphonia.bcom.bcommon.external
Interface FailedReason

All Superinterfaces:
Reason
All Known Implementing Classes:
FailedReasonImpl

public interface FailedReason
extends Reason

Reason a communication failed.

Defines all possible reasons a communication might fail for.
On receiption of an onFailed(ComConnection, ComEndpoint) event the reason is set and can be retrieved by the method getFailedReason().

Note: Java 1.5 enum types are not used because Java 1.4 compatibility is a requirement.


Field Summary
static FailedReason BLOCKED
          Device is currently blocked and doesn't accept further communications.
static FailedReason DEST_OUT_OF_ORDER
          Device is not operable.
static FailedReason NETWORK_CONGESTION
          Failure because of a congested network.
static FailedReason NETWORK_NOT_OBTAINABLE
          Destination network could not be reached.
static FailedReason NUMBER_UNALLOCATED
          The dialed number is not known.
static FailedReason REORDER_TONE
          Device unreachable because of network problem.
static FailedReason RESOURCE_UNAVAILABLE
          Device can currently not be reached.
static FailedReason UNKNOWN
          Unspecified failure.
 
Method Summary
 boolean compareState(FailedReason reason)
          Compares the given reason with this object.
 

Field Detail

BLOCKED

static final FailedReason BLOCKED
Device is currently blocked and doesn't accept further communications.

Immediatelly after termination of a call the device maybe blocked for a certain period of time. An example would be if an agent of a call center transfers the call to another party. Then the agent's phone device gets blocked until the transfer has been completed. This allows to bring the call back in case the transfer fails.
Another example is the reservation of a line in key-set configurations.


RESOURCE_UNAVAILABLE

static final FailedReason RESOURCE_UNAVAILABLE
Device can currently not be reached.

The preferred device of a user is currently not reachable. The cause might be an overload state in the communication system or a failure in the external network.


NUMBER_UNALLOCATED

static final FailedReason NUMBER_UNALLOCATED
The dialed number is not known.

The dialed number fits to the configured numbering plan of the communication system but is not assigned to any device.


UNKNOWN

static final FailedReason UNKNOWN
Unspecified failure.

There is a failure which cannot be further detailled.


REORDER_TONE

static final FailedReason REORDER_TONE
Device unreachable because of network problem.

The preferred device of a user is currently not reachable. The cause might be the trunk beeing busy or the device is not reachable in the network.


DEST_OUT_OF_ORDER

static final FailedReason DEST_OUT_OF_ORDER
Device is not operable.

The device is currently not operable. E.g. a soft client might be switched off.


NETWORK_CONGESTION

static final FailedReason NETWORK_CONGESTION
Failure because of a congested network.

There is the general problem that the whole network is congested. I.e. all target of this network are not reachable.


NETWORK_NOT_OBTAINABLE

static final FailedReason NETWORK_NOT_OBTAINABLE
Destination network could not be reached.

There is the general problem that the whole network is not reachable. I.e. all target of this network are not reachable.

Method Detail

compareState

boolean compareState(FailedReason reason)
Compares the given reason with this object.

Implementation for type safe comparision.

Parameters:
reason - the reason to be compared.
Returns:
true, if the reasons are equal, otherwise false.

OpenScape
V3.2, Revision 044 20100322

Copyright (c) 2014 Unify, Germany
All rights reserved.

This software is the confidential and proprietary information of Unify, Germany