org.mobicents.protocols.smpp.gsm
Class PortAddressing16
java.lang.Object
org.mobicents.protocols.smpp.gsm.AbstractHeaderElement
org.mobicents.protocols.smpp.gsm.RecurringHeaderElement
org.mobicents.protocols.smpp.gsm.PortAddressing16
- All Implemented Interfaces:
- HeaderElement
public class PortAddressing16
- extends RecurringHeaderElement
16-bit Port addressing. 3GPP TS 23.040 9.2.3.24.4.
- Version:
- $Id: PortAddressing16.java 484 2010-02-08 16:08:50Z orank $
PortAddressing16
public PortAddressing16()
PortAddressing16
public PortAddressing16(int sourcePort,
int destPort)
getLength
public int getLength()
- Description copied from interface:
HeaderElement
- Get the total number of octets this header element encodes as
excluding the IEI and the IEI-Data-Length fields.
- Returns:
- The number of octets in this header element's IE-Data, which
may exceed 140 octets.
doWrite
public boolean doWrite(int segmentNum,
ByteBuffer buffer)
- Overrides:
doWrite in class AbstractHeaderElement
getSourcePort
public int getSourcePort()
setSourcePort
public void setSourcePort(int sourcePort)
getDestPort
public int getDestPort()
setDestPort
public void setDestPort(int destPort)
Copyright © 2011 Mobicents. All Rights Reserved.