org.jSyncManager.API.Protocol.Util
Class CMP_Address
java.lang.Objectorg.jSyncManager.API.Protocol.Util.CMP_Address
public class CMP_Address
extends java.lang.Object
This class is used to manage the address string reported by
the CMP Communication Preferences Exchange response.
CMP_Address()- Create a new instance of the CMP Communication Preferences class.
|
CMP_Address(String addr)- Create a new instance of the CMP Address class using the specified address.
|
CMP_Address(byte[] inData)- Construct a new CMP Address instance from an array of bytes.
|
String | getAddress()- Retrieves the address contained within this object.
|
byte[] | object2Bytes()- Converts this object to an array of bytes suitable for transmission.
|
CMP_Address
public CMP_Address()
Create a new instance of the CMP Communication Preferences class.
CMP_Address
public CMP_Address(String addr)
Create a new instance of the CMP Address class using the specified address.
addr - the address string to use in this packet.
CMP_Address
public CMP_Address(byte[] inData)
Construct a new CMP Address instance from an array of bytes.
inData - the data array to be parsed.
getAddress
public String getAddress()
Retrieves the address contained within this object.
- the address contained within this object.
object2Bytes
public byte[] object2Bytes()
Converts this object to an array of bytes suitable for transmission.
- this object to an array of bytes suitable for transmission.