Package com.opencloud.sentinel.common
Class MccMnc
- java.lang.Object
-
- com.opencloud.sentinel.common.MccMnc
-
- All Implemented Interfaces:
com.opencloud.rhino.cmp.Encodable
,com.opencloud.util.FastSerializable
,java.io.Serializable
public class MccMnc extends java.lang.Object implements java.io.Serializable, com.opencloud.util.FastSerializable, com.opencloud.rhino.cmp.Encodable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MccMnc(java.io.DataInput dataInput)
MccMnc(java.io.DataInput dataInput, java.lang.ClassLoader cl, com.opencloud.rhino.cmp.codecs.DecoderUtils utils)
MccMnc(java.lang.String mcc, java.lang.String mnc)
MccMnc(java.lang.String mcc, java.lang.String mnc, long ageOfInformation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
encode(java.io.DataOutput out, com.opencloud.rhino.cmp.codecs.EncoderUtils utils)
long
getAgeOfInformation()
java.lang.String
getMcc()
java.lang.String
getMnc()
void
toStream(java.io.DataOutput out)
java.lang.String
toString()
-
-
-
Constructor Detail
-
MccMnc
public MccMnc(java.lang.String mcc, java.lang.String mnc)
-
MccMnc
public MccMnc(java.lang.String mcc, java.lang.String mnc, long ageOfInformation)
-
MccMnc
public MccMnc(java.io.DataInput dataInput, java.lang.ClassLoader cl, com.opencloud.rhino.cmp.codecs.DecoderUtils utils) throws java.io.IOException
- Throws:
java.io.IOException
-
MccMnc
public MccMnc(java.io.DataInput dataInput) throws java.io.IOException
- Throws:
java.io.IOException
-
-
Method Detail
-
encode
public void encode(java.io.DataOutput out, com.opencloud.rhino.cmp.codecs.EncoderUtils utils) throws java.io.IOException
- Specified by:
encode
in interfacecom.opencloud.rhino.cmp.Encodable
- Throws:
java.io.IOException
-
toStream
public void toStream(java.io.DataOutput out) throws java.io.IOException
- Specified by:
toStream
in interfacecom.opencloud.util.FastSerializable
- Throws:
java.io.IOException
-
getMcc
public java.lang.String getMcc()
-
getMnc
public java.lang.String getMnc()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getAgeOfInformation
public long getAgeOfInformation()
-
-