-
- All Implemented Interfaces:
-
cz.mroczis.netmonster.core.model.cell.ICell
public final class CellTdscdma implements ICell
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classCellTdscdma.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Integercidprivate final Integerrncprivate final Stringcgiprivate final Networknetworkprivate final Integerciprivate final Integerlacprivate final Integercpidprivate final BandTdscdmabandprivate final SignalTdscdmasignalprivate final IConnectionconnectionStatusprivate final IntegersubscriptionIdprivate final Longtimestamp
-
Constructor Summary
Constructors Constructor Description CellTdscdma(Network network, Integer ci, Integer lac, Integer cpid, BandTdscdma band, SignalTdscdma signal, IConnection connectionStatus, Integer subscriptionId, Long timestamp)
-
Method Summary
Modifier and Type Method Description final IntegergetCid()final IntegergetRnc()final StringgetCgi()NetworkgetNetwork()PLMN of current network, in case of CDMA is can be guessed from other serving cells. final IntegergetCi()28-bit WCDMA Cell Identity in range from CID_MIN to CID_MAX, null if unavailable final IntegergetLac()16-bit Location Area Code in range from LAC_MIN to LAC_MAX, null if unavailable final IntegergetCpid()8-bit Cell Parameters ID in range from CPID_MIN to CPID_MAX, null if unavailable BandTdscdmagetBand()Band of cell containing downlink & uplink frequencies (if applicable) SignalTdscdmagetSignal()Signal of this cell IConnectiongetConnectionStatus()Current state of connection to cell - connected and serving or neighbouring. IntegergetSubscriptionId()Subscription id into which cell is bound to, Int.MAX_VALUE if subscriptions are not supported yet LonggetTimestamp()Timestamp of this cell data. <T extends Any> Tlet(ICellProcessor<T> processor)Using visitor pattern invokes one method of processor with proper ICell instance. -
-
Constructor Detail
-
CellTdscdma
CellTdscdma(Network network, Integer ci, Integer lac, Integer cpid, BandTdscdma band, SignalTdscdma signal, IConnection connectionStatus, Integer subscriptionId, Long timestamp)
-
-
Method Detail
-
getNetwork
Network getNetwork()
PLMN of current network, in case of CDMA is can be guessed from other serving cells. Generally null for non-serving cells if no postprocessing is done.
-
getBand
BandTdscdma getBand()
Band of cell containing downlink & uplink frequencies (if applicable)
-
getSignal
SignalTdscdma getSignal()
Signal of this cell
-
getConnectionStatus
IConnection getConnectionStatus()
Current state of connection to cell - connected and serving or neighbouring.
-
getSubscriptionId
Integer getSubscriptionId()
Subscription id into which cell is bound to, Int.MAX_VALUE if subscriptions are not supported yet
-
getTimestamp
Long getTimestamp()
Timestamp of this cell data. Unit: milliseconds since device boot
-
-
-
-