Documentation ¶
Overview ¶
Package messages provides protocol definitions and encoding/decoding feature of M3UA messages.
Specification: https://tools.ietf.org/html/rfc4666#section-3
Index ¶
- Constants
- Variables
- func MarshalBinary(m M3UA) ([]byte, error)
- type AspActive
- func (a *AspActive) DecodeFromBytes(b []byte) error
- func (a *AspActive) Len() int
- func (a *AspActive) MarshalBinary() ([]byte, error)
- func (a *AspActive) MarshalLen() int
- func (a *AspActive) MarshalTo(b []byte) error
- func (a *AspActive) MessageClass() uint8
- func (a *AspActive) MessageClassName() string
- func (a *AspActive) MessageType() uint8
- func (a *AspActive) MessageTypeName() string
- func (a *AspActive) Serialize() ([]byte, error)
- func (a *AspActive) SerializeTo(b []byte) error
- func (a *AspActive) SetLength()
- func (a *AspActive) String() string
- func (a *AspActive) UnmarshalBinary(b []byte) error
- func (a *AspActive) Version() uint8
- type AspActiveAck
- func (a *AspActiveAck) DecodeFromBytes(b []byte) error
- func (a *AspActiveAck) Len() int
- func (a *AspActiveAck) MarshalBinary() ([]byte, error)
- func (a *AspActiveAck) MarshalLen() int
- func (a *AspActiveAck) MarshalTo(b []byte) error
- func (a *AspActiveAck) MessageClass() uint8
- func (a *AspActiveAck) MessageClassName() string
- func (a *AspActiveAck) MessageType() uint8
- func (a *AspActiveAck) MessageTypeName() string
- func (a *AspActiveAck) Serialize() ([]byte, error)
- func (a *AspActiveAck) SerializeTo(b []byte) error
- func (a *AspActiveAck) SetLength()
- func (a *AspActiveAck) String() string
- func (a *AspActiveAck) UnmarshalBinary(b []byte) error
- func (a *AspActiveAck) Version() uint8
- type AspDown
- func (a *AspDown) DecodeFromBytes(b []byte) error
- func (a *AspDown) Len() int
- func (a *AspDown) MarshalBinary() ([]byte, error)
- func (a *AspDown) MarshalLen() int
- func (a *AspDown) MarshalTo(b []byte) error
- func (a *AspDown) MessageClass() uint8
- func (a *AspDown) MessageClassName() string
- func (a *AspDown) MessageType() uint8
- func (a *AspDown) MessageTypeName() string
- func (a *AspDown) Serialize() ([]byte, error)
- func (a *AspDown) SerializeTo(b []byte) error
- func (a *AspDown) SetLength()
- func (a *AspDown) String() string
- func (a *AspDown) UnmarshalBinary(b []byte) error
- func (a *AspDown) Version() uint8
- type AspDownAck
- func (a *AspDownAck) DecodeFromBytes(b []byte) error
- func (a *AspDownAck) Len() int
- func (a *AspDownAck) MarshalBinary() ([]byte, error)
- func (a *AspDownAck) MarshalLen() int
- func (a *AspDownAck) MarshalTo(b []byte) error
- func (a *AspDownAck) MessageClass() uint8
- func (a *AspDownAck) MessageClassName() string
- func (a *AspDownAck) MessageType() uint8
- func (a *AspDownAck) MessageTypeName() string
- func (a *AspDownAck) Serialize() ([]byte, error)
- func (a *AspDownAck) SerializeTo(b []byte) error
- func (a *AspDownAck) SetLength()
- func (a *AspDownAck) String() string
- func (a *AspDownAck) UnmarshalBinary(b []byte) error
- func (a *AspDownAck) Version() uint8
- type AspInactive
- func (a *AspInactive) DecodeFromBytes(b []byte) error
- func (a *AspInactive) Len() int
- func (a *AspInactive) MarshalBinary() ([]byte, error)
- func (a *AspInactive) MarshalLen() int
- func (a *AspInactive) MarshalTo(b []byte) error
- func (a *AspInactive) MessageClass() uint8
- func (a *AspInactive) MessageClassName() string
- func (a *AspInactive) MessageType() uint8
- func (a *AspInactive) MessageTypeName() string
- func (a *AspInactive) Serialize() ([]byte, error)
- func (a *AspInactive) SerializeTo(b []byte) error
- func (a *AspInactive) SetLength()
- func (a *AspInactive) String() string
- func (a *AspInactive) UnmarshalBinary(b []byte) error
- func (a *AspInactive) Version() uint8
- type AspInactiveAck
- func (a *AspInactiveAck) DecodeFromBytes(b []byte) error
- func (a *AspInactiveAck) Len() int
- func (a *AspInactiveAck) MarshalBinary() ([]byte, error)
- func (a *AspInactiveAck) MarshalLen() int
- func (a *AspInactiveAck) MarshalTo(b []byte) error
- func (a *AspInactiveAck) MessageClass() uint8
- func (a *AspInactiveAck) MessageClassName() string
- func (a *AspInactiveAck) MessageType() uint8
- func (a *AspInactiveAck) MessageTypeName() string
- func (a *AspInactiveAck) Serialize() ([]byte, error)
- func (a *AspInactiveAck) SerializeTo(b []byte) error
- func (a *AspInactiveAck) SetLength()
- func (a *AspInactiveAck) String() string
- func (a *AspInactiveAck) UnmarshalBinary(b []byte) error
- func (a *AspInactiveAck) Version() uint8
- type AspUp
- func (a *AspUp) DecodeFromBytes(b []byte) error
- func (a *AspUp) Len() int
- func (a *AspUp) MarshalBinary() ([]byte, error)
- func (a *AspUp) MarshalLen() int
- func (a *AspUp) MarshalTo(b []byte) error
- func (a *AspUp) MessageClass() uint8
- func (a *AspUp) MessageClassName() string
- func (a *AspUp) MessageType() uint8
- func (a *AspUp) MessageTypeName() string
- func (a *AspUp) Serialize() ([]byte, error)
- func (a *AspUp) SerializeTo(b []byte) error
- func (a *AspUp) SetLength()
- func (a *AspUp) String() string
- func (a *AspUp) UnmarshalBinary(b []byte) error
- func (a *AspUp) Version() uint8
- type AspUpAck
- func (a *AspUpAck) DecodeFromBytes(b []byte) error
- func (a *AspUpAck) Len() int
- func (a *AspUpAck) MarshalBinary() ([]byte, error)
- func (a *AspUpAck) MarshalLen() int
- func (a *AspUpAck) MarshalTo(b []byte) error
- func (a *AspUpAck) MessageClass() uint8
- func (a *AspUpAck) MessageClassName() string
- func (a *AspUpAck) MessageType() uint8
- func (a *AspUpAck) MessageTypeName() string
- func (a *AspUpAck) Serialize() ([]byte, error)
- func (a *AspUpAck) SerializeTo(b []byte) error
- func (a *AspUpAck) SetLength()
- func (a *AspUpAck) String() string
- func (a *AspUpAck) UnmarshalBinary(b []byte) error
- func (a *AspUpAck) Version() uint8
- type Data
- func (d *Data) DecodeFromBytes(b []byte) error
- func (d *Data) Len() int
- func (d *Data) MarshalBinary() ([]byte, error)
- func (d *Data) MarshalLen() int
- func (d *Data) MarshalTo(b []byte) error
- func (d *Data) MessageClass() uint8
- func (d *Data) MessageClassName() string
- func (d *Data) MessageType() uint8
- func (d *Data) MessageTypeName() string
- func (d *Data) Serialize() ([]byte, error)
- func (d *Data) SerializeTo(b []byte) error
- func (d *Data) SetLength()
- func (d *Data) String() string
- func (d *Data) UnmarshalBinary(b []byte) error
- func (d *Data) Version() uint8
- type DestinationAvailable
- func (d *DestinationAvailable) DecodeFromBytes(b []byte) error
- func (d *DestinationAvailable) Len() int
- func (d *DestinationAvailable) MarshalBinary() ([]byte, error)
- func (d *DestinationAvailable) MarshalLen() int
- func (d *DestinationAvailable) MarshalTo(b []byte) error
- func (d *DestinationAvailable) MessageClass() uint8
- func (d *DestinationAvailable) MessageClassName() string
- func (d *DestinationAvailable) MessageType() uint8
- func (d *DestinationAvailable) MessageTypeName() string
- func (d *DestinationAvailable) Serialize() ([]byte, error)
- func (d *DestinationAvailable) SerializeTo(b []byte) error
- func (d *DestinationAvailable) SetLength()
- func (d *DestinationAvailable) UnmarshalBinary(b []byte) error
- func (d *DestinationAvailable) Version() uint8
- type DestinationRestricted
- func (d *DestinationRestricted) DecodeFromBytes(b []byte) error
- func (d *DestinationRestricted) Len() int
- func (d *DestinationRestricted) MarshalBinary() ([]byte, error)
- func (d *DestinationRestricted) MarshalLen() int
- func (d *DestinationRestricted) MarshalTo(b []byte) error
- func (d *DestinationRestricted) MessageClass() uint8
- func (d *DestinationRestricted) MessageClassName() string
- func (d *DestinationRestricted) MessageType() uint8
- func (d *DestinationRestricted) MessageTypeName() string
- func (d *DestinationRestricted) Serialize() ([]byte, error)
- func (d *DestinationRestricted) SerializeTo(b []byte) error
- func (d *DestinationRestricted) SetLength()
- func (d *DestinationRestricted) UnmarshalBinary(b []byte) error
- func (d *DestinationRestricted) Version() uint8
- type DestinationStateAudit
- func (d *DestinationStateAudit) DecodeFromBytes(b []byte) error
- func (d *DestinationStateAudit) Len() int
- func (d *DestinationStateAudit) MarshalBinary() ([]byte, error)
- func (d *DestinationStateAudit) MarshalLen() int
- func (d *DestinationStateAudit) MarshalTo(b []byte) error
- func (d *DestinationStateAudit) MessageClass() uint8
- func (d *DestinationStateAudit) MessageClassName() string
- func (d *DestinationStateAudit) MessageType() uint8
- func (d *DestinationStateAudit) MessageTypeName() string
- func (d *DestinationStateAudit) Serialize() ([]byte, error)
- func (d *DestinationStateAudit) SerializeTo(b []byte) error
- func (d *DestinationStateAudit) SetLength()
- func (d *DestinationStateAudit) UnmarshalBinary(b []byte) error
- func (d *DestinationStateAudit) Version() uint8
- type DestinationUnavailable
- func (d *DestinationUnavailable) DecodeFromBytes(b []byte) error
- func (d *DestinationUnavailable) Len() int
- func (d *DestinationUnavailable) MarshalBinary() ([]byte, error)
- func (d *DestinationUnavailable) MarshalLen() int
- func (d *DestinationUnavailable) MarshalTo(b []byte) error
- func (d *DestinationUnavailable) MessageClass() uint8
- func (d *DestinationUnavailable) MessageClassName() string
- func (d *DestinationUnavailable) MessageType() uint8
- func (d *DestinationUnavailable) MessageTypeName() string
- func (d *DestinationUnavailable) Serialize() ([]byte, error)
- func (d *DestinationUnavailable) SerializeTo(b []byte) error
- func (d *DestinationUnavailable) SetLength()
- func (d *DestinationUnavailable) UnmarshalBinary(b []byte) error
- func (d *DestinationUnavailable) Version() uint8
- type DestinationUserPartUnavailable
- func (d *DestinationUserPartUnavailable) MarshalBinary() ([]byte, error)
- func (d *DestinationUserPartUnavailable) MarshalLen() int
- func (d *DestinationUserPartUnavailable) MarshalTo(b []byte) error
- func (d *DestinationUserPartUnavailable) MessageClass() uint8
- func (d *DestinationUserPartUnavailable) MessageClassName() string
- func (d *DestinationUserPartUnavailable) MessageType() uint8
- func (d *DestinationUserPartUnavailable) MessageTypeName() string
- func (d *DestinationUserPartUnavailable) SetLength()
- func (d *DestinationUserPartUnavailable) UnmarshalBinary(b []byte) error
- func (d *DestinationUserPartUnavailable) Version() uint8
- type Error
- func (e *Error) DecodeFromBytes(b []byte) error
- func (e *Error) Len() int
- func (e *Error) MarshalBinary() ([]byte, error)
- func (e *Error) MarshalLen() int
- func (e *Error) MarshalTo(b []byte) error
- func (e *Error) MessageClass() uint8
- func (e *Error) MessageClassName() string
- func (e *Error) MessageType() uint8
- func (e *Error) MessageTypeName() string
- func (e *Error) Serialize() ([]byte, error)
- func (e *Error) SerializeTo(b []byte) error
- func (e *Error) SetLength()
- func (e *Error) String() string
- func (e *Error) UnmarshalBinary(b []byte) error
- func (e *Error) Version() uint8
- type Generic
- func (g *Generic) DecodeFromBytes(b []byte) error
- func (g *Generic) Len() int
- func (g *Generic) MarshalBinary() ([]byte, error)
- func (g *Generic) MarshalLen() int
- func (g *Generic) MarshalTo(b []byte) error
- func (g *Generic) MessageClass() uint8
- func (g *Generic) MessageClassName() string
- func (g *Generic) MessageType() uint8
- func (g *Generic) MessageTypeName() string
- func (g *Generic) Serialize() ([]byte, error)
- func (g *Generic) SerializeTo(b []byte) error
- func (g *Generic) SetLength()
- func (g *Generic) String() string
- func (g *Generic) UnmarshalBinary(b []byte) error
- func (g *Generic) Version() uint8
- type Header
- func (h *Header) DecodeFromBytes(b []byte) error
- func (h *Header) Len() int
- func (h *Header) MarshalBinary() ([]byte, error)
- func (h *Header) MarshalLen() int
- func (h *Header) MarshalTo(b []byte) error
- func (h *Header) Serialize() ([]byte, error)
- func (h *Header) SerializeTo(b []byte) error
- func (h *Header) SetLength()
- func (h *Header) String() string
- func (h *Header) UnmarshalBinary(b []byte) error
- type Heartbeat
- func (h *Heartbeat) DecodeFromBytes(b []byte) error
- func (h *Heartbeat) Len() int
- func (h *Heartbeat) MarshalBinary() ([]byte, error)
- func (h *Heartbeat) MarshalLen() int
- func (h *Heartbeat) MarshalTo(b []byte) error
- func (h *Heartbeat) MessageClass() uint8
- func (h *Heartbeat) MessageClassName() string
- func (h *Heartbeat) MessageType() uint8
- func (h *Heartbeat) MessageTypeName() string
- func (h *Heartbeat) Serialize() ([]byte, error)
- func (h *Heartbeat) SerializeTo(b []byte) error
- func (h *Heartbeat) SetLength()
- func (h *Heartbeat) String() string
- func (h *Heartbeat) UnmarshalBinary(b []byte) error
- func (h *Heartbeat) Version() uint8
- type HeartbeatAck
- func (h *HeartbeatAck) DecodeFromBytes(b []byte) error
- func (h *HeartbeatAck) Len() int
- func (h *HeartbeatAck) MarshalBinary() ([]byte, error)
- func (h *HeartbeatAck) MarshalLen() int
- func (h *HeartbeatAck) MarshalTo(b []byte) error
- func (h *HeartbeatAck) MessageClass() uint8
- func (h *HeartbeatAck) MessageClassName() string
- func (h *HeartbeatAck) MessageType() uint8
- func (h *HeartbeatAck) MessageTypeName() string
- func (h *HeartbeatAck) Serialize() ([]byte, error)
- func (h *HeartbeatAck) SerializeTo(b []byte) error
- func (h *HeartbeatAck) SetLength()
- func (h *HeartbeatAck) String() string
- func (h *HeartbeatAck) UnmarshalBinary(b []byte) error
- func (h *HeartbeatAck) Version() uint8
- type M3UA
- type Notify
- func (n *Notify) DecodeFromBytes(b []byte) error
- func (n *Notify) Len() int
- func (n *Notify) MarshalBinary() ([]byte, error)
- func (n *Notify) MarshalLen() int
- func (n *Notify) MarshalTo(b []byte) error
- func (n *Notify) MessageClass() uint8
- func (n *Notify) MessageClassName() string
- func (n *Notify) MessageType() uint8
- func (n *Notify) MessageTypeName() string
- func (n *Notify) Serialize() ([]byte, error)
- func (n *Notify) SerializeTo(b []byte) error
- func (n *Notify) SetLength()
- func (n *Notify) String() string
- func (n *Notify) UnmarshalBinary(b []byte) error
- func (n *Notify) Version() uint8
- type SignallingCongestion
- func (s *SignallingCongestion) MarshalBinary() ([]byte, error)
- func (s *SignallingCongestion) MarshalLen() int
- func (s *SignallingCongestion) MarshalTo(b []byte) error
- func (s *SignallingCongestion) MessageClass() uint8
- func (s *SignallingCongestion) MessageClassName() string
- func (s *SignallingCongestion) MessageType() uint8
- func (s *SignallingCongestion) MessageTypeName() string
- func (s *SignallingCongestion) SetLength()
- func (s *SignallingCongestion) String() string
- func (s *SignallingCongestion) UnmarshalBinary(b []byte) error
- func (s *SignallingCongestion) Version() uint8
Constants ¶
const ( MsgClassManagement uint8 = iota MsgClassTransfer MsgClassSSNM MsgClassASPSM MsgClassASPTM MsgClassRKM )
Message Class definitions.
const ( MsgClassNameManagement = "Management" MsgClassNameTransfer = "Transfer" MsgClassNameSSNM = "SSNM" MsgClassNameASPSM = "ASPSM" MsgClassNameASPTM = "ASPTM" MsgClassNameRKM = "RKM" )
Message Class Name definitions.
const ( MsgTypeError = iota MsgTypeNotify )
Message Type definitions (Management).
const ( MsgTypeDestinationAvailable MsgTypeDestinationStateAudit MsgTypeSignallingCongestion MsgTypeDestinationRestricted )
Message Type definitions (SSNM).
const ( MsgTypeAspUp uint8 MsgTypeAspDown MsgTypeHeartbeat MsgTypeAspUpAck MsgTypeAspDownAck MsgTypeHeartbeatAck )
Message Type definitions (ASPSM).
const ( MsgTypeAspActive uint8 MsgTypeAspInactive MsgTypeAspActiveAck MsgTypeAspInactiveAck )
Message Type definitions (ASPTM).
const ( MsgTypeRegistrationRequest uint8 MsgTypeRegistrationResponse MsgTypeDeregistrationRequest MsgTypeDeregistrationResponse )
Message Type definitions (RKM).
const (
MsgTypePayloadData uint8
)
Message Type definitions (Transfer).
Variables ¶
var ( ErrTooShortToMarshalBinary = errors.New("insufficient buffer to serialize M3UA to") ErrTooShortToParse = errors.New("too short to decode as M3UA") ErrInvalidParameter = errors.New("got invalid parameter inside a message") )
Error definitions.
Functions ¶
func MarshalBinary ¶ added in v0.1.3
MarshalBinary returns the byte sequence generated from a M3UA instance. Better to use MarshalBinaryXxx instead if you know the type of data to be serialized.
Types ¶
type AspActive ¶
type AspActive struct { *Header TrafficModeType *params.Param RoutingContext *params.Param InfoString *params.Param }
AspActive is a AspActive type of M3UA message.
Spec: 3.7.1, RFC4666.
func DecodeAspActive ¶
DecodeAspActive decodes given byte sequence as a AspActive.
DEPRECATED: use ParseAspActive instead.
func NewAspActive ¶
NewAspActive creates a new AspActive.
func ParseAspActive ¶ added in v0.1.3
ParseAspActive decodes given byte sequence as a AspActive.
func (*AspActive) DecodeFromBytes ¶
DecodeFromBytes sets the values retrieved from byte sequence in a M3UA common header.
DEPRECATED: use UnmarshalBinary instead.
func (*AspActive) Len ¶
Len returns the serial length of AspActive.
DEPRECATED: use MarshalLen instead.
func (*AspActive) MarshalBinary ¶ added in v0.1.3
MarshalBinary returns the byte sequence generated from a AspActive.
func (*AspActive) MarshalLen ¶ added in v0.1.3
MarshalLen returns the serial length of AspActive.
func (*AspActive) MarshalTo ¶ added in v0.1.3
MarshalTo puts the byte sequence in the byte array given as b.
func (*AspActive) MessageClass ¶
MessageClass returns the message class in int.
func (*AspActive) MessageClassName ¶
MessageClassName returns the name of message class.
func (*AspActive) MessageType ¶
MessageType returns the message type in int.
func (*AspActive) MessageTypeName ¶
MessageTypeName returns the name of message type.
func (*AspActive) Serialize ¶
Serialize returns the byte sequence generated from a AspActive.
DEPRECATED: use MarshalBinary instead.
func (*AspActive) SerializeTo ¶
SerializeTo puts the byte sequence in the byte array given as b.
DEPRECATED: use MarshalTo instead.
func (*AspActive) SetLength ¶
func (a *AspActive) SetLength()
SetLength sets the length in Length field.
func (*AspActive) UnmarshalBinary ¶ added in v0.1.3
UnmarshalBinary sets the values retrieved from byte sequence in a M3UA common header.
type AspActiveAck ¶
type AspActiveAck struct { *Header TrafficModeType *params.Param RoutingContext *params.Param InfoString *params.Param }
AspActiveAck is a AspActiveAck type of M3UA message.
Spec: 3.7.2, RFC4666.
func DecodeAspActiveAck ¶
func DecodeAspActiveAck(b []byte) (*AspActiveAck, error)
DecodeAspActiveAck decodes given byte sequence as a AspActiveAck.
DEPRECATED: use ParseAspActiveAck instead.
func NewAspActiveAck ¶
func NewAspActiveAck(tmt, rtCtx, info *params.Param) *AspActiveAck
NewAspActiveAck creates a new AspActiveAck.
func ParseAspActiveAck ¶ added in v0.1.3
func ParseAspActiveAck(b []byte) (*AspActiveAck, error)
ParseAspActiveAck decodes given byte sequence as a AspActiveAck.
func (*AspActiveAck) DecodeFromBytes ¶
func (a *AspActiveAck) DecodeFromBytes(b []byte) error
DecodeFromBytes sets the values retrieved from byte sequence in a M3UA common header.
DEPRECATED: use UnmarshalBinary instead.
func (*AspActiveAck) Len ¶
func (a *AspActiveAck) Len() int
Len returns the serial length of AspActiveAck.
DEPRECATED: use MarshalLen instead.
func (*AspActiveAck) MarshalBinary ¶ added in v0.1.3
func (a *AspActiveAck) MarshalBinary() ([]byte, error)
MarshalBinary returns the byte sequence generated from a AspActiveAck.
func (*AspActiveAck) MarshalLen ¶ added in v0.1.3
func (a *AspActiveAck) MarshalLen() int
MarshalLen returns the serial length of AspActiveAck.
func (*AspActiveAck) MarshalTo ¶ added in v0.1.3
func (a *AspActiveAck) MarshalTo(b []byte) error
MarshalTo puts the byte sequence in the byte array given as b.
func (*AspActiveAck) MessageClass ¶
func (a *AspActiveAck) MessageClass() uint8
MessageClass returns the message class in int.
func (*AspActiveAck) MessageClassName ¶
func (a *AspActiveAck) MessageClassName() string
MessageClassName returns the name of message class.
func (*AspActiveAck) MessageType ¶
func (a *AspActiveAck) MessageType() uint8
MessageType returns the message type in int.
func (*AspActiveAck) MessageTypeName ¶
func (a *AspActiveAck) MessageTypeName() string
MessageTypeName returns the name of message type.
func (*AspActiveAck) Serialize ¶
func (a *AspActiveAck) Serialize() ([]byte, error)
Serialize returns the byte sequence generated from a AspActiveAck.
DEPRECATED: use MarshalBinary instead.
func (*AspActiveAck) SerializeTo ¶
func (a *AspActiveAck) SerializeTo(b []byte) error
SerializeTo puts the byte sequence in the byte array given as b.
DEPRECATED: use MarshalTo instead.
func (*AspActiveAck) SetLength ¶
func (a *AspActiveAck) SetLength()
SetLength sets the length in Length field.
func (*AspActiveAck) String ¶
func (a *AspActiveAck) String() string
String returns the AspActiveAck values in human readable format.
func (*AspActiveAck) UnmarshalBinary ¶ added in v0.1.3
func (a *AspActiveAck) UnmarshalBinary(b []byte) error
UnmarshalBinary sets the values retrieved from byte sequence in a M3UA common header.
func (*AspActiveAck) Version ¶
func (a *AspActiveAck) Version() uint8
Version returns the version of M3UA in int.
type AspDown ¶
AspDown is a AspDown type of M3UA message.
Spec: 3.5.3, RFC4666.
func DecodeAspDown ¶
DecodeAspDown decodes given byte sequence as a AspDown.
DEPRECATED: use ParseAspDown instead.
func ParseAspDown ¶ added in v0.1.3
ParseAspDown decodes given byte sequence as a AspDown.
func (*AspDown) DecodeFromBytes ¶
DecodeFromBytes sets the values retrieved from byte sequence in a M3UA common header.
DEPRECATED: use UnmarshalBinary instead.
func (*AspDown) MarshalBinary ¶ added in v0.1.3
MarshalBinary returns the byte sequence generated from a AspDown.
func (*AspDown) MarshalLen ¶ added in v0.1.3
MarshalLen returns the serial length of AspDown.
func (*AspDown) MarshalTo ¶ added in v0.1.3
MarshalTo puts the byte sequence in the byte array given as b.
func (*AspDown) MessageClass ¶
MessageClass returns the message class in int.
func (*AspDown) MessageClassName ¶
MessageClassName returns the name of message class.
func (*AspDown) MessageType ¶
MessageType returns the message type in int.
func (*AspDown) MessageTypeName ¶
MessageTypeName returns the name of message type.
func (*AspDown) Serialize ¶
Serialize returns the byte sequence generated from a AspDown.
DEPRECATED: use MarshalBinary instead.
func (*AspDown) SerializeTo ¶
SerializeTo puts the byte sequence in the byte array given as b.
DEPRECATED: use MarshalTo instead.
func (*AspDown) SetLength ¶
func (a *AspDown) SetLength()
SetLength sets the length in Length field.
func (*AspDown) UnmarshalBinary ¶ added in v0.1.3
UnmarshalBinary sets the values retrieved from byte sequence in a M3UA common header.
type AspDownAck ¶
AspDownAck is a AspDownAck type of M3UA message.
Spec: 3.5.4, RFC4666.
func DecodeAspDownAck ¶
func DecodeAspDownAck(b []byte) (*AspDownAck, error)
DecodeAspDownAck decodes given byte sequence as a AspDownAck.
DEPRECATED: use ParseAspDownAck instead.
func NewAspDownAck ¶
func NewAspDownAck(info *params.Param) *AspDownAck
NewAspDownAck creates a new AspDownAck.
func ParseAspDownAck ¶ added in v0.1.3
func ParseAspDownAck(b []byte) (*AspDownAck, error)
ParseAspDownAck decodes given byte sequence as a AspDownAck.
func (*AspDownAck) DecodeFromBytes ¶
func (a *AspDownAck) DecodeFromBytes(b []byte) error
DecodeFromBytes sets the values retrieved from byte sequence in a M3UA common header.
DEPRECATED: use UnmarshalBinary instead.
func (*AspDownAck) Len ¶
func (a *AspDownAck) Len() int
Len returns the serial length of AspDownAck.
DEPRECATED: use MarshalLen instead.
func (*AspDownAck) MarshalBinary ¶ added in v0.1.3
func (a *AspDownAck) MarshalBinary() ([]byte, error)
MarshalBinary returns the byte sequence generated from a AspDownAck.
func (*AspDownAck) MarshalLen ¶ added in v0.1.3
func (a *AspDownAck) MarshalLen() int
MarshalLen returns the serial length of AspDownAck.
func (*AspDownAck) MarshalTo ¶ added in v0.1.3
func (a *AspDownAck) MarshalTo(b []byte) error
MarshalTo puts the byte sequence in the byte array given as b.
func (*AspDownAck) MessageClass ¶
func (a *AspDownAck) MessageClass() uint8
MessageClass returns the message class in int.
func (*AspDownAck) MessageClassName ¶
func (a *AspDownAck) MessageClassName() string
MessageClassName returns the name of message class.
func (*AspDownAck) MessageType ¶
func (a *AspDownAck) MessageType() uint8
MessageType returns the message type in int.
func (*AspDownAck) MessageTypeName ¶
func (a *AspDownAck) MessageTypeName() string
MessageTypeName returns the name of message type.
func (*AspDownAck) Serialize ¶
func (a *AspDownAck) Serialize() ([]byte, error)
Serialize returns the byte sequence generated from a AspDownAck.
DEPRECATED: use MarshalBinary instead.
func (*AspDownAck) SerializeTo ¶
func (a *AspDownAck) SerializeTo(b []byte) error
SerializeTo puts the byte sequence in the byte array given as b.
DEPRECATED: use MarshalTo instead.
func (*AspDownAck) SetLength ¶
func (a *AspDownAck) SetLength()
SetLength sets the length in Length field.
func (*AspDownAck) String ¶
func (a *AspDownAck) String() string
String returns the AspDownAck values in human readable format.
func (*AspDownAck) UnmarshalBinary ¶ added in v0.1.3
func (a *AspDownAck) UnmarshalBinary(b []byte) error
UnmarshalBinary sets the values retrieved from byte sequence in a M3UA common header.
func (*AspDownAck) Version ¶
func (a *AspDownAck) Version() uint8
Version returns the version of M3UA in int.
type AspInactive ¶
AspInactive is a AspInactive type of M3UA message.
Spec: 3.7.3, RFC4666.
func DecodeAspInactive ¶
func DecodeAspInactive(b []byte) (*AspInactive, error)
DecodeAspInactive decodes given byte sequence as a AspInactive.
DEPRECATED: use ParseAspInactive instead.
func NewAspInactive ¶
func NewAspInactive(rtCtx, info *params.Param) *AspInactive
NewAspInactive creates a new AspInactive.
func ParseAspInactive ¶ added in v0.1.3
func ParseAspInactive(b []byte) (*AspInactive, error)
ParseAspInactive decodes given byte sequence as a AspInactive.
func (*AspInactive) DecodeFromBytes ¶
func (a *AspInactive) DecodeFromBytes(b []byte) error
DecodeFromBytes sets the values retrieved from byte sequence in a M3UA common header.
DEPRECATED: use UnmarshalBinary instead.
func (*AspInactive) Len ¶
func (a *AspInactive) Len() int
Len returns the serial length of AspInactive.
DEPRECATED: use MarshalLen instead.
func (*AspInactive) MarshalBinary ¶ added in v0.1.3
func (a *AspInactive) MarshalBinary() ([]byte, error)
MarshalBinary returns the byte sequence generated from a AspInactive.
func (*AspInactive) MarshalLen ¶ added in v0.1.3
func (a *AspInactive) MarshalLen() int
MarshalLen returns the serial length of AspInactive.
func (*AspInactive) MarshalTo ¶ added in v0.1.3
func (a *AspInactive) MarshalTo(b []byte) error
MarshalTo puts the byte sequence in the byte array given as b.
func (*AspInactive) MessageClass ¶
func (a *AspInactive) MessageClass() uint8
MessageClass returns the message class in int.
func (*AspInactive) MessageClassName ¶
func (a *AspInactive) MessageClassName() string
MessageClassName returns the name of message class.
func (*AspInactive) MessageType ¶
func (a *AspInactive) MessageType() uint8
MessageType returns the message type in int.
func (*AspInactive) MessageTypeName ¶
func (a *AspInactive) MessageTypeName() string
MessageTypeName returns the name of message type.
func (*AspInactive) Serialize ¶
func (a *AspInactive) Serialize() ([]byte, error)
Serialize returns the byte sequence generated from a AspInactive.
DEPRECATED: use MarshalBinary instead.
func (*AspInactive) SerializeTo ¶
func (a *AspInactive) SerializeTo(b []byte) error
SerializeTo puts the byte sequence in the byte array given as b.
DEPRECATED: use MarshalTo instead.
func (*AspInactive) SetLength ¶
func (a *AspInactive) SetLength()
SetLength sets the length in Length field.
func (*AspInactive) String ¶
func (a *AspInactive) String() string
String returns the AspInactive values in human readable format.
func (*AspInactive) UnmarshalBinary ¶ added in v0.1.3
func (a *AspInactive) UnmarshalBinary(b []byte) error
UnmarshalBinary sets the values retrieved from byte sequence in a M3UA common header.
func (*AspInactive) Version ¶
func (a *AspInactive) Version() uint8
Version returns the version of M3UA in int.
type AspInactiveAck ¶
AspInactiveAck is a AspInactiveAck type of M3UA message.
Spec: 3.7.4, RFC4666.
func DecodeAspInactiveAck ¶
func DecodeAspInactiveAck(b []byte) (*AspInactiveAck, error)
DecodeAspInactiveAck decodes given byte sequence as a AspInactiveAck.
DEPRECATED: use ParseAspInactiveAck instead.
func NewAspInactiveAck ¶
func NewAspInactiveAck(rtCtx, info *params.Param) *AspInactiveAck
NewAspInactiveAck creates a new AspInactiveAck.
func ParseAspInactiveAck ¶ added in v0.1.3
func ParseAspInactiveAck(b []byte) (*AspInactiveAck, error)
ParseAspInactiveAck decodes given byte sequence as a AspInactiveAck.
func (*AspInactiveAck) DecodeFromBytes ¶
func (a *AspInactiveAck) DecodeFromBytes(b []byte) error
DecodeFromBytes sets the values retrieved from byte sequence in a M3UA common header.
DEPRECATED: use UnmarshalBinary instead.
func (*AspInactiveAck) Len ¶
func (a *AspInactiveAck) Len() int
Len returns the serial length of AspInactiveAck.
DEPRECATED: use MarshalLen instead.
func (*AspInactiveAck) MarshalBinary ¶ added in v0.1.3
func (a *AspInactiveAck) MarshalBinary() ([]byte, error)
MarshalBinary returns the byte sequence generated from a AspInactiveAck.
func (*AspInactiveAck) MarshalLen ¶ added in v0.1.3
func (a *AspInactiveAck) MarshalLen() int
MarshalLen returns the serial length of AspInactiveAck.
func (*AspInactiveAck) MarshalTo ¶ added in v0.1.3
func (a *AspInactiveAck) MarshalTo(b []byte) error
MarshalTo puts the byte sequence in the byte array given as b.
func (*AspInactiveAck) MessageClass ¶
func (a *AspInactiveAck) MessageClass() uint8
MessageClass returns the message class in int.
func (*AspInactiveAck) MessageClassName ¶
func (a *AspInactiveAck) MessageClassName() string
MessageClassName returns the name of message class.
func (*AspInactiveAck) MessageType ¶
func (a *AspInactiveAck) MessageType() uint8
MessageType returns the message type in int.
func (*AspInactiveAck) MessageTypeName ¶
func (a *AspInactiveAck) MessageTypeName() string
MessageTypeName returns the name of message type.
func (*AspInactiveAck) Serialize ¶
func (a *AspInactiveAck) Serialize() ([]byte, error)
Serialize returns the byte sequence generated from a AspInactiveAck.
DEPRECATED: use MarshalBinary instead.
func (*AspInactiveAck) SerializeTo ¶
func (a *AspInactiveAck) SerializeTo(b []byte) error
SerializeTo puts the byte sequence in the byte array given as b.
DEPRECATED: use MarshalTo instead.
func (*AspInactiveAck) SetLength ¶
func (a *AspInactiveAck) SetLength()
SetLength sets the length in Length field.
func (*AspInactiveAck) String ¶
func (a *AspInactiveAck) String() string
String returns the AspInactiveAck values in human readable format.
func (*AspInactiveAck) UnmarshalBinary ¶ added in v0.1.3
func (a *AspInactiveAck) UnmarshalBinary(b []byte) error
UnmarshalBinary sets the values retrieved from byte sequence in a M3UA common header.
func (*AspInactiveAck) Version ¶
func (a *AspInactiveAck) Version() uint8
Version returns the version of M3UA in int.
type AspUp ¶
AspUp is a AspUp type of M3UA message.
Spec: 3.5.1, RFC4666.
func DecodeAspUp ¶
DecodeAspUp decodes given byte sequence as a AspUp.
DEPRECATED: use ParseAspUp instead.
func ParseAspUp ¶ added in v0.1.3
ParseAspUp decodes given byte sequence as a AspUp.
func (*AspUp) DecodeFromBytes ¶
DecodeFromBytes sets the values retrieved from byte sequence in a M3UA common header.
DEPRECATED: use UnmarshalBinary instead.
func (*AspUp) MarshalBinary ¶ added in v0.1.3
MarshalBinary returns the byte sequence generated from a AspUp.
func (*AspUp) MarshalLen ¶ added in v0.1.3
MarshalLen returns the serial length of AspUp.
func (*AspUp) MarshalTo ¶ added in v0.1.3
MarshalTo puts the byte sequence in the byte array given as b.
func (*AspUp) MessageClass ¶
MessageClass returns the message class in int.
func (*AspUp) MessageClassName ¶
MessageClassName returns the name of message class.
func (*AspUp) MessageType ¶
MessageType returns the message type in int.
func (*AspUp) MessageTypeName ¶
MessageTypeName returns the name of message type.
func (*AspUp) Serialize ¶
Serialize returns the byte sequence generated from a AspUp.
DEPRECATED: use MarshalBinary instead.
func (*AspUp) SerializeTo ¶
SerializeTo puts the byte sequence in the byte array given as b.
DEPRECATED: use MarshalTo instead.
func (*AspUp) UnmarshalBinary ¶ added in v0.1.3
UnmarshalBinary sets the values retrieved from byte sequence in a M3UA common header.
type AspUpAck ¶
AspUpAck is a AspUpAck type of M3UA message.
Spec: 3.5.2, RFC4666.
func DecodeAspUpAck ¶
DecodeAspUpAck decodes given byte sequence as a AspUpAck.
DEPRECATED: use ParseAspUpAck instead.
func NewAspUpAck ¶
NewAspUpAck creates a new AspUpAck.
func ParseAspUpAck ¶ added in v0.1.3
ParseAspUpAck decodes given byte sequence as a AspUpAck.
func (*AspUpAck) DecodeFromBytes ¶
DecodeFromBytes sets the values retrieved from byte sequence in a M3UA common header.
DEPRECATED: use UnmarshalBinary instead.
func (*AspUpAck) Len ¶
Len returns the serial length of AspUpAck.
DEPRECATED: use MarshalLen instead.
func (*AspUpAck) MarshalBinary ¶ added in v0.1.3
MarshalBinary returns the byte sequence generated from a AspUpAck.
func (*AspUpAck) MarshalLen ¶ added in v0.1.3
MarshalLen returns the serial length of AspUpAck.
func (*AspUpAck) MarshalTo ¶ added in v0.1.3
MarshalTo puts the byte sequence in the byte array given as b.
func (*AspUpAck) MessageClass ¶
MessageClass returns the message class in int.
func (*AspUpAck) MessageClassName ¶
MessageClassName returns the name of message class.
func (*AspUpAck) MessageType ¶
MessageType returns the message type in int.
func (*AspUpAck) MessageTypeName ¶
MessageTypeName returns the name of message type.
func (*AspUpAck) Serialize ¶
Serialize returns the byte sequence generated from a AspUpAck.
DEPRECATED: use MarshalBinary instead.
func (*AspUpAck) SerializeTo ¶
SerializeTo puts the byte sequence in the byte array given as b.
DEPRECATED: use MarshalTo instead.
func (*AspUpAck) SetLength ¶
func (a *AspUpAck) SetLength()
SetLength sets the length in Length field.
func (*AspUpAck) UnmarshalBinary ¶ added in v0.1.3
UnmarshalBinary sets the values retrieved from byte sequence in a M3UA common header.
type Data ¶
type Data struct { *Header NetworkAppearance *params.Param RoutingContext *params.Param ProtocolData *params.Param CorrelationID *params.Param }
Data is a PayloadData type of M3UA message.
Spec: 3.3.1, RFC4666.
func DecodeData ¶
DecodeData decodes given byte sequence as a Data.
DEPRECATED: use ParseData instead.
func (*Data) DecodeFromBytes ¶
DecodeFromBytes sets the values retrieved from byte sequence in a M3UA common header.
DEPRECATED: use UnmarshalBinary instead.
func (*Data) MarshalBinary ¶ added in v0.1.3
MarshalBinary returns the byte sequence generated from a Data.
func (*Data) MarshalLen ¶ added in v0.1.3
MarshalLen returns the serial length of Data.
func (*Data) MarshalTo ¶ added in v0.1.3
MarshalTo puts the byte sequence in the byte array given as b.
func (*Data) MessageClass ¶
MessageClass returns the message class in int.
func (*Data) MessageClassName ¶
MessageClassName returns the name of message class.
func (*Data) MessageType ¶
MessageType returns the message type in int.
func (*Data) MessageTypeName ¶
MessageTypeName returns the name of message type.
func (*Data) Serialize ¶
Serialize returns the byte sequence generated from a Data.
DEPRECATED: use MarshalBinary instead.
func (*Data) SerializeTo ¶
SerializeTo puts the byte sequence in the byte array given as b.
DEPRECATED: use MarshalTo instead.
func (*Data) UnmarshalBinary ¶ added in v0.1.3
UnmarshalBinary sets the values retrieved from byte sequence in a M3UA common header.
type DestinationAvailable ¶ added in v0.1.1
type DestinationAvailable struct { *Header NetworkAppearance *params.Param RoutingContext *params.Param AffectedPointCode *params.Param InfoString *params.Param }
DestinationAvailable is a DestinationAvailable type of M3UA message.
Spec: 3.4.2, RFC4666.
func DecodeDestinationAvailable ¶ added in v0.1.1
func DecodeDestinationAvailable(b []byte) (*DestinationAvailable, error)
DecodeDestinationAvailable decodes given byte sequence as a DestinationAvailable.
DEPRECATED: use ParseDestinationAvailable instead.
func NewDestinationAvailable ¶ added in v0.1.1
func NewDestinationAvailable(nwApr, rtCtx, apcs, info *params.Param) *DestinationAvailable
NewDestinationAvailable creates a new DestinationAvailable.
func ParseDestinationAvailable ¶ added in v0.1.3
func ParseDestinationAvailable(b []byte) (*DestinationAvailable, error)
ParseDestinationAvailable decodes given byte sequence as a DestinationAvailable.
func (*DestinationAvailable) DecodeFromBytes ¶ added in v0.1.1
func (d *DestinationAvailable) DecodeFromBytes(b []byte) error
DecodeFromBytes sets the values retrieved from byte sequence in a M3UA common header.
DEPRECATED: use UnmarshalBinary instead.
func (*DestinationAvailable) Len ¶ added in v0.1.1
func (d *DestinationAvailable) Len() int
Len returns the serial length of DestinationAvailable.
DEPRECATED: use MarshalLen instead.
func (*DestinationAvailable) MarshalBinary ¶ added in v0.1.3
func (d *DestinationAvailable) MarshalBinary() ([]byte, error)
MarshalBinary returns the byte sequence generated from a DestinationAvailable.
func (*DestinationAvailable) MarshalLen ¶ added in v0.1.3
func (d *DestinationAvailable) MarshalLen() int
MarshalLen returns the serial length of DestinationAvailable.
func (*DestinationAvailable) MarshalTo ¶ added in v0.1.3
func (d *DestinationAvailable) MarshalTo(b []byte) error
MarshalTo puts the byte sequence in the byte array given as b.
func (*DestinationAvailable) MessageClass ¶ added in v0.1.1
func (d *DestinationAvailable) MessageClass() uint8
MessageClass returns the message class in int.
func (*DestinationAvailable) MessageClassName ¶ added in v0.1.1
func (d *DestinationAvailable) MessageClassName() string
MessageClassName returns the name of message class.
func (*DestinationAvailable) MessageType ¶ added in v0.1.1
func (d *DestinationAvailable) MessageType() uint8
MessageType returns the message type in int.
func (*DestinationAvailable) MessageTypeName ¶ added in v0.1.1
func (d *DestinationAvailable) MessageTypeName() string
MessageTypeName returns the name of message type.
func (*DestinationAvailable) Serialize ¶ added in v0.1.1
func (d *DestinationAvailable) Serialize() ([]byte, error)
Serialize returns the byte sequence generated from a DestinationAvailable.
DEPRECATED: use MarshalBinary instead.
func (*DestinationAvailable) SerializeTo ¶ added in v0.1.1
func (d *DestinationAvailable) SerializeTo(b []byte) error
SerializeTo puts the byte sequence in the byte array given as b.
DEPRECATED: use MarshalTo instead.
func (*DestinationAvailable) SetLength ¶ added in v0.1.1
func (d *DestinationAvailable) SetLength()
SetLength sets the length in Length field.
func (*DestinationAvailable) UnmarshalBinary ¶ added in v0.1.3
func (d *DestinationAvailable) UnmarshalBinary(b []byte) error
UnmarshalBinary sets the values retrieved from byte sequence in a M3UA common header.
func (*DestinationAvailable) Version ¶ added in v0.1.1
func (d *DestinationAvailable) Version() uint8
Version returns the version of M3UA in int.
type DestinationRestricted ¶ added in v0.1.4
type DestinationRestricted struct { *Header NetworkAppearance *params.Param RoutingContext *params.Param AffectedPointCode *params.Param InfoString *params.Param }
DestinationRestricted is a DestinationRestricted type of M3UA message.
Spec: 3.4.6, RFC4666.
func DecodeDestinationRestricted ¶ added in v0.1.4
func DecodeDestinationRestricted(b []byte) (*DestinationRestricted, error)
DecodeDestinationRestricted decodes given byte sequence as a DestinationRestricted.
DEPRECATED: use ParseDestinationRestricted instead.
func NewDestinationRestricted ¶ added in v0.1.4
func NewDestinationRestricted(nwApr, rtCtx, apcs, info *params.Param) *DestinationRestricted
NewDestinationRestricted creates a new DestinationRestricted.
func ParseDestinationRestricted ¶ added in v0.1.4
func ParseDestinationRestricted(b []byte) (*DestinationRestricted, error)
ParseDestinationRestricted decodes given byte sequence as a DestinationRestricted.
func (*DestinationRestricted) DecodeFromBytes ¶ added in v0.1.4
func (d *DestinationRestricted) DecodeFromBytes(b []byte) error
DecodeFromBytes sets the values retrieved from byte sequence in a M3UA common header.
DEPRECATED: use UnmarshalBinary instead.
func (*DestinationRestricted) Len ¶ added in v0.1.4
func (d *DestinationRestricted) Len() int
Len returns the serial length of DestinationRestricted.
DEPRECATED: use MarshalLen instead.
func (*DestinationRestricted) MarshalBinary ¶ added in v0.1.4
func (d *DestinationRestricted) MarshalBinary() ([]byte, error)
MarshalBinary returns the byte sequence generated from a DestinationRestricted.
func (*DestinationRestricted) MarshalLen ¶ added in v0.1.4
func (d *DestinationRestricted) MarshalLen() int
MarshalLen returns the serial length of DestinationRestricted.
func (*DestinationRestricted) MarshalTo ¶ added in v0.1.4
func (d *DestinationRestricted) MarshalTo(b []byte) error
MarshalTo puts the byte sequence in the byte array given as b.
func (*DestinationRestricted) MessageClass ¶ added in v0.1.4
func (d *DestinationRestricted) MessageClass() uint8
MessageClass returns the message class in int.
func (*DestinationRestricted) MessageClassName ¶ added in v0.1.4
func (d *DestinationRestricted) MessageClassName() string
MessageClassName returns the name of message class.
func (*DestinationRestricted) MessageType ¶ added in v0.1.4
func (d *DestinationRestricted) MessageType() uint8
MessageType returns the message type in int.
func (*DestinationRestricted) MessageTypeName ¶ added in v0.1.4
func (d *DestinationRestricted) MessageTypeName() string
MessageTypeName returns the name of message type.
func (*DestinationRestricted) Serialize ¶ added in v0.1.4
func (d *DestinationRestricted) Serialize() ([]byte, error)
Serialize returns the byte sequence generated from a DestinationRestricted.
DEPRECATED: use MarshalBinary instead.
func (*DestinationRestricted) SerializeTo ¶ added in v0.1.4
func (d *DestinationRestricted) SerializeTo(b []byte) error
SerializeTo puts the byte sequence in the byte array given as b.
DEPRECATED: use MarshalTo instead.
func (*DestinationRestricted) SetLength ¶ added in v0.1.4
func (d *DestinationRestricted) SetLength()
SetLength sets the length in Length field.
func (*DestinationRestricted) UnmarshalBinary ¶ added in v0.1.4
func (d *DestinationRestricted) UnmarshalBinary(b []byte) error
UnmarshalBinary sets the values retrieved from byte sequence in a M3UA common header.
func (*DestinationRestricted) Version ¶ added in v0.1.4
func (d *DestinationRestricted) Version() uint8
Version returns the version of M3UA in int.
type DestinationStateAudit ¶ added in v0.1.1
type DestinationStateAudit struct { *Header NetworkAppearance *params.Param RoutingContext *params.Param AffectedPointCode *params.Param InfoString *params.Param }
DestinationStateAudit is a DestinationStateAudit type of M3UA message.
Spec: 3.4.3, RFC4666.
func DecodeDestinationStateAudit ¶ added in v0.1.1
func DecodeDestinationStateAudit(b []byte) (*DestinationStateAudit, error)
DecodeDestinationStateAudit decodes given byte sequence as a DestinationStateAudit.
DEPRECATED: use ParseDestinationStateAudit instead.
func NewDestinationStateAudit ¶ added in v0.1.1
func NewDestinationStateAudit(nwApr, rtCtx, apcs, info *params.Param) *DestinationStateAudit
NewDestinationStateAudit creates a new DestinationStateAudit.
func ParseDestinationStateAudit ¶ added in v0.1.3
func ParseDestinationStateAudit(b []byte) (*DestinationStateAudit, error)
ParseDestinationStateAudit decodes given byte sequence as a DestinationStateAudit.
func (*DestinationStateAudit) DecodeFromBytes ¶ added in v0.1.1
func (d *DestinationStateAudit) DecodeFromBytes(b []byte) error
DecodeFromBytes sets the values retrieved from byte sequence in a M3UA common header.
DEPRECATED: use UnmarshalBinary instead.
func (*DestinationStateAudit) Len ¶ added in v0.1.1
func (d *DestinationStateAudit) Len() int
Len returns the serial length of DestinationStateAudit.
DEPRECATED: use MarshalLen instead.
func (*DestinationStateAudit) MarshalBinary ¶ added in v0.1.3
func (d *DestinationStateAudit) MarshalBinary() ([]byte, error)
MarshalBinary returns the byte sequence generated from a DestinationStateAudit.
func (*DestinationStateAudit) MarshalLen ¶ added in v0.1.3
func (d *DestinationStateAudit) MarshalLen() int
MarshalLen returns the serial length of DestinationStateAudit.
func (*DestinationStateAudit) MarshalTo ¶ added in v0.1.3
func (d *DestinationStateAudit) MarshalTo(b []byte) error
MarshalTo puts the byte sequence in the byte array given as b.
func (*DestinationStateAudit) MessageClass ¶ added in v0.1.1
func (d *DestinationStateAudit) MessageClass() uint8
MessageClass returns the message class in int.
func (*DestinationStateAudit) MessageClassName ¶ added in v0.1.1
func (d *DestinationStateAudit) MessageClassName() string
MessageClassName returns the name of message class.
func (*DestinationStateAudit) MessageType ¶ added in v0.1.1
func (d *DestinationStateAudit) MessageType() uint8
MessageType returns the message type in int.
func (*DestinationStateAudit) MessageTypeName ¶ added in v0.1.1
func (d *DestinationStateAudit) MessageTypeName() string
MessageTypeName returns the name of message type.
func (*DestinationStateAudit) Serialize ¶ added in v0.1.1
func (d *DestinationStateAudit) Serialize() ([]byte, error)
Serialize returns the byte sequence generated from a DestinationStateAudit.
DEPRECATED: use MarshalBinary instead.
func (*DestinationStateAudit) SerializeTo ¶ added in v0.1.1
func (d *DestinationStateAudit) SerializeTo(b []byte) error
SerializeTo puts the byte sequence in the byte array given as b.
DEPRECATED: use MarshalTo instead.
func (*DestinationStateAudit) SetLength ¶ added in v0.1.1
func (d *DestinationStateAudit) SetLength()
SetLength sets the length in Length field.
func (*DestinationStateAudit) UnmarshalBinary ¶ added in v0.1.3
func (d *DestinationStateAudit) UnmarshalBinary(b []byte) error
UnmarshalBinary sets the values retrieved from byte sequence in a M3UA common header.
func (*DestinationStateAudit) Version ¶ added in v0.1.1
func (d *DestinationStateAudit) Version() uint8
Version returns the version of M3UA in int.
type DestinationUnavailable ¶ added in v0.1.1
type DestinationUnavailable struct {}
DestinationUnavailable is a DestinationUnavailable type of M3UA message.
Spec: 3.4.1, RFC4666.
func DecodeDestinationUnavailable ¶ added in v0.1.1
func DecodeDestinationUnavailable(b []byte) (*DestinationUnavailable, error)
DecodeDestinationUnavailable decodes given byte sequence as a DestinationUnavailable.
DEPRECATED: use ParseDestinationUnavailable instead.
func NewDestinationUnavailable ¶ added in v0.1.1
func NewDestinationUnavailable(nwApr, rtCtx, apcs, info *params.Param) *DestinationUnavailable
NewDestinationUnavailable creates a new DestinationUnavailable.
func ParseDestinationUnavailable ¶ added in v0.1.3
func ParseDestinationUnavailable(b []byte) (*DestinationUnavailable, error)
ParseDestinationUnavailable decodes given byte sequence as a DestinationUnavailable.
func (*DestinationUnavailable) DecodeFromBytes ¶ added in v0.1.1
func (d *DestinationUnavailable) DecodeFromBytes(b []byte) error
DecodeFromBytes sets the values retrieved from byte sequence in a M3UA common header.
DEPRECATED: use UnmarshalBinary instead.
func (*DestinationUnavailable) Len ¶ added in v0.1.1
func (d *DestinationUnavailable) Len() int
Len returns the serial length of DestinationUnavailable.
DEPRECATED: use MarshalLen instead.
func (*DestinationUnavailable) MarshalBinary ¶ added in v0.1.3
func (d *DestinationUnavailable) MarshalBinary() ([]byte, error)
MarshalBinary returns the byte sequence generated from a DestinationUnavailable.
func (*DestinationUnavailable) MarshalLen ¶ added in v0.1.3
func (d *DestinationUnavailable) MarshalLen() int
MarshalLen returns the serial length of DestinationUnavailable.
func (*DestinationUnavailable) MarshalTo ¶ added in v0.1.3
func (d *DestinationUnavailable) MarshalTo(b []byte) error
MarshalTo puts the byte sequence in the byte array given as b.
func (*DestinationUnavailable) MessageClass ¶ added in v0.1.1
func (d *DestinationUnavailable) MessageClass() uint8
MessageClass returns the message class in int.
func (*DestinationUnavailable) MessageClassName ¶ added in v0.1.1
func (d *DestinationUnavailable) MessageClassName() string
MessageClassName returns the name of message class.
func (*DestinationUnavailable) MessageType ¶ added in v0.1.1
func (d *DestinationUnavailable) MessageType() uint8
MessageType returns the message type in int.
func (*DestinationUnavailable) MessageTypeName ¶ added in v0.1.1
func (d *DestinationUnavailable) MessageTypeName() string
MessageTypeName returns the name of message type.
func (*DestinationUnavailable) Serialize ¶ added in v0.1.1
func (d *DestinationUnavailable) Serialize() ([]byte, error)
Serialize returns the byte sequence generated from a DestinationUnavailable.
DEPRECATED: use MarshalBinary instead.
func (*DestinationUnavailable) SerializeTo ¶ added in v0.1.1
func (d *DestinationUnavailable) SerializeTo(b []byte) error
SerializeTo puts the byte sequence in the byte array given as b.
DEPRECATED: use MarshalTo instead.
func (*DestinationUnavailable) SetLength ¶ added in v0.1.1
func (d *DestinationUnavailable) SetLength()
SetLength sets the length in Length field.
func (*DestinationUnavailable) UnmarshalBinary ¶ added in v0.1.3
func (d *DestinationUnavailable) UnmarshalBinary(b []byte) error
UnmarshalBinary sets the values retrieved from byte sequence in a M3UA common header.
func (*DestinationUnavailable) Version ¶ added in v0.1.1
func (d *DestinationUnavailable) Version() uint8
Version returns the version of M3UA in int.
type DestinationUserPartUnavailable ¶ added in v0.1.4
type DestinationUserPartUnavailable struct {}
DestinationUserPartUnavailable is a DestinationUserPartUnavailable type of M3UA message.
Spec: 3.4.5, RFC4666.
func NewDestinationUserPartUnavailable ¶ added in v0.1.4
func NewDestinationUserPartUnavailable(nwApr, rtCtx, apcs, cause, info *params.Param) *DestinationUserPartUnavailable
NewDestinationUserPartUnavailable creates a new DestinationUserPartUnavailable.
func ParseDestinationUserPartUnavailable ¶ added in v0.1.4
func ParseDestinationUserPartUnavailable(b []byte) (*DestinationUserPartUnavailable, error)
ParseDestinationUserPartUnavailable decodes given byte sequence as a DestinationUserPartUnavailable.
func (*DestinationUserPartUnavailable) MarshalBinary ¶ added in v0.1.4
func (d *DestinationUserPartUnavailable) MarshalBinary() ([]byte, error)
MarshalBinary returns the byte sequence generated from a DestinationUserPartUnavailable.
func (*DestinationUserPartUnavailable) MarshalLen ¶ added in v0.1.4
func (d *DestinationUserPartUnavailable) MarshalLen() int
MarshalLen returns the serial length of DestinationUserPartUnavailable.
func (*DestinationUserPartUnavailable) MarshalTo ¶ added in v0.1.4
func (d *DestinationUserPartUnavailable) MarshalTo(b []byte) error
MarshalTo puts the byte sequence in the byte array given as b.
func (*DestinationUserPartUnavailable) MessageClass ¶ added in v0.1.4
func (d *DestinationUserPartUnavailable) MessageClass() uint8
MessageClass returns the message class in int.
func (*DestinationUserPartUnavailable) MessageClassName ¶ added in v0.1.4
func (d *DestinationUserPartUnavailable) MessageClassName() string
MessageClassName returns the name of message class.
func (*DestinationUserPartUnavailable) MessageType ¶ added in v0.1.4
func (d *DestinationUserPartUnavailable) MessageType() uint8
MessageType returns the message type in int.
func (*DestinationUserPartUnavailable) MessageTypeName ¶ added in v0.1.4
func (d *DestinationUserPartUnavailable) MessageTypeName() string
MessageTypeName returns the name of message type.
func (*DestinationUserPartUnavailable) SetLength ¶ added in v0.1.4
func (d *DestinationUserPartUnavailable) SetLength()
SetLength sets the length in Length field.
func (*DestinationUserPartUnavailable) UnmarshalBinary ¶ added in v0.1.4
func (d *DestinationUserPartUnavailable) UnmarshalBinary(b []byte) error
UnmarshalBinary sets the values retrieved from byte sequence in a M3UA common header.
func (*DestinationUserPartUnavailable) Version ¶ added in v0.1.4
func (d *DestinationUserPartUnavailable) Version() uint8
Version returns the version of M3UA in int.
type Error ¶
type Error struct { *Header ErrorCode *params.Param RoutingContext *params.Param NetworkAppearance *params.Param AffectedPointCode *params.Param DiagnosticInformation *params.Param }
Error is a Error type of M3UA message.
Spec: 3.8.1, RFC4666.
func DecodeError ¶
DecodeError decodes given byte sequence as a Error.
DEPRECATED: use ParseError instead.
func ParseError ¶ added in v0.1.3
ParseError decodes given byte sequence as a Error.
func (*Error) DecodeFromBytes ¶
DecodeFromBytes sets the values retrieved from byte sequence in a M3UA common header.
DEPRECATED: use UnmarshalBinary instead.
func (*Error) MarshalBinary ¶ added in v0.1.3
MarshalBinary returns the byte sequence generated from a Error.
func (*Error) MarshalLen ¶ added in v0.1.3
MarshalLen returns the serial length of Error.
func (*Error) MarshalTo ¶ added in v0.1.3
MarshalTo puts the byte sequence in the byte array given as b.
func (*Error) MessageClass ¶
MessageClass returns the message class in int.
func (*Error) MessageClassName ¶
MessageClassName returns the name of message class.
func (*Error) MessageType ¶
MessageType returns the message type in int.
func (*Error) MessageTypeName ¶
MessageTypeName returns the name of message type.
func (*Error) Serialize ¶
Serialize returns the byte sequence generated from a Error.
DEPRECATED: use MarshalBinary instead.
func (*Error) SerializeTo ¶
SerializeTo puts the byte sequence in the byte array given as b.
DEPRECATED: use MarshalTo instead.
func (*Error) UnmarshalBinary ¶ added in v0.1.3
UnmarshalBinary sets the values retrieved from byte sequence in a M3UA common header.
type Generic ¶
Generic is generic structure of M3UA. This is used when
- Parse() method does not understand the class & type of M3UA message.
- users manually create this for the specific purpose.
func DecodeGeneric ¶
DecodeGeneric decodes given byte sequence as a Generic.
DEPRECATED: use ParseGeneric instead.
func ParseGeneric ¶ added in v0.1.3
ParseGeneric decodes given byte sequence as a M3UA Generic message.
func (*Generic) DecodeFromBytes ¶
DecodeFromBytes sets the values retrieved from byte sequence in a M3UA common header.
DEPRECATED: use UnmarshalBinary instead.
func (*Generic) MarshalBinary ¶ added in v0.1.3
MarshalBinary returns the byte sequence generated from a Generic.
func (*Generic) MarshalLen ¶ added in v0.1.3
MarshalLen returns the serial length of Data.
func (*Generic) MarshalTo ¶ added in v0.1.3
MarshalTo puts the byte sequence in the byte array given as b.
func (*Generic) MessageClass ¶
MessageClass returns the message class in int.
func (*Generic) MessageClassName ¶
MessageClassName returns the name of message class.
func (*Generic) MessageType ¶
MessageType returns the message type in int.
func (*Generic) MessageTypeName ¶
MessageTypeName returns the name of message type.
func (*Generic) Serialize ¶
Serialize returns the byte sequence generated from a Generic.
DEPRECATED: use MarshalBinary instead.
func (*Generic) SerializeTo ¶
SerializeTo puts the byte sequence in the byte array given as b.
DEPRECATED: use MarshalTo instead.
func (*Generic) SetLength ¶
func (g *Generic) SetLength()
SetLength sets the length in Length field.
func (*Generic) UnmarshalBinary ¶ added in v0.1.3
UnmarshalBinary sets the values retrieved from byte sequence in a M3UA common header.
type Header ¶
type Header struct { Version uint8 Reserved uint8 Class uint8 Type uint8 Length uint32 Payload []byte }
Header is a M3UA common header.
func DecodeHeader ¶
DecodeHeader decodes given byte sequence as a Header.
DEPRECATED: use ParseHeader instead.
func ParseHeader ¶ added in v0.1.3
ParseHeader decodes given byte sequence as a M3UA common header.
func (*Header) DecodeFromBytes ¶
DecodeFromBytes sets the values retrieved from byte sequence in a M3UA common header.
DEPRECATED: use UnmarshalBinary instead.
func (*Header) MarshalBinary ¶ added in v0.1.3
MarshalBinary returns the byte sequence generated from a Header instance.
func (*Header) MarshalLen ¶ added in v0.1.3
MarshalLen returns the serial length of Header.
func (*Header) MarshalTo ¶ added in v0.1.3
MarshalTo puts the byte sequence in the byte array given as b.
func (*Header) Serialize ¶
Serialize returns the byte sequence generated from a Header.
DEPRECATED: use MarshalBinary instead.
func (*Header) SerializeTo ¶
SerializeTo puts the byte sequence in the byte array given as b.
DEPRECATED: use MarshalTo instead.
func (*Header) UnmarshalBinary ¶ added in v0.1.3
UnmarshalBinary sets the values retrieved from byte sequence in a M3UA common header.
type Heartbeat ¶
Heartbeat is a Heartbeat type of M3UA message.
Spec: 3.5.5, RFC4666.
func DecodeHeartbeat ¶
DecodeHeartbeat decodes given byte sequence as a Heartbeat.
DEPRECATED: use ParseHeartbeat instead.
func NewHeartbeat ¶
NewHeartbeat creates a new Heartbeat.
func ParseHeartbeat ¶ added in v0.1.3
ParseHeartbeat decodes given byte sequence as a Heartbeat.
func (*Heartbeat) DecodeFromBytes ¶
DecodeFromBytes sets the values retrieved from byte sequence in a M3UA common header.
DEPRECATED: use UnmarshalBinary instead.
func (*Heartbeat) Len ¶
Len returns the serial length of Heartbeat.
DEPRECATED: use MarshalLen instead.
func (*Heartbeat) MarshalBinary ¶ added in v0.1.3
MarshalBinary returns the byte sequence generated from a Heartbeat.
func (*Heartbeat) MarshalLen ¶ added in v0.1.3
MarshalLen returns the serial length of Heartbeat.
func (*Heartbeat) MarshalTo ¶ added in v0.1.3
MarshalTo puts the byte sequence in the byte array given as b.
func (*Heartbeat) MessageClass ¶
MessageClass returns the message class in int.
func (*Heartbeat) MessageClassName ¶
MessageClassName returns the name of message class.
func (*Heartbeat) MessageType ¶
MessageType returns the message type in int.
func (*Heartbeat) MessageTypeName ¶
MessageTypeName returns the name of message type.
func (*Heartbeat) Serialize ¶
Serialize returns the byte sequence generated from a Heartbeat.
DEPRECATED: use MarshalBinary instead.
func (*Heartbeat) SerializeTo ¶
SerializeTo puts the byte sequence in the byte array given as b.
DEPRECATED: use MarshalTo instead.
func (*Heartbeat) SetLength ¶
func (h *Heartbeat) SetLength()
SetLength sets the length in Length field.
func (*Heartbeat) UnmarshalBinary ¶ added in v0.1.3
UnmarshalBinary sets the values retrieved from byte sequence in a M3UA common header.
type HeartbeatAck ¶
HeartbeatAck is a HeartbeatAck type of M3UA message.
Spec: 3.5.6, RFC4666.
func DecodeHeartbeatAck ¶
func DecodeHeartbeatAck(b []byte) (*HeartbeatAck, error)
DecodeHeartbeatAck decodes given byte sequence as a HeartbeatAck.
DEPRECATED: use ParseHeartbeatAck instead.
func NewHeartbeatAck ¶
func NewHeartbeatAck(hbData *params.Param) *HeartbeatAck
NewHeartbeatAck creates a new HeartbeatAck.
func ParseHeartbeatAck ¶ added in v0.1.3
func ParseHeartbeatAck(b []byte) (*HeartbeatAck, error)
ParseHeartbeatAck decodes given byte sequence as a HeartbeatAck.
func (*HeartbeatAck) DecodeFromBytes ¶
func (h *HeartbeatAck) DecodeFromBytes(b []byte) error
DecodeFromBytes sets the values retrieved from byte sequence in a M3UA common header.
DEPRECATED: use UnmarshalBinary instead.
func (*HeartbeatAck) Len ¶
func (h *HeartbeatAck) Len() int
Len returns the serial length of HeartbeatAck.
DEPRECATED: use MarshalLen instead.
func (*HeartbeatAck) MarshalBinary ¶ added in v0.1.3
func (h *HeartbeatAck) MarshalBinary() ([]byte, error)
MarshalBinary returns the byte sequence generated from a HeartbeatAck.
func (*HeartbeatAck) MarshalLen ¶ added in v0.1.3
func (h *HeartbeatAck) MarshalLen() int
MarshalLen returns the serial length of HeartbeatAck.
func (*HeartbeatAck) MarshalTo ¶ added in v0.1.3
func (h *HeartbeatAck) MarshalTo(b []byte) error
MarshalTo puts the byte sequence in the byte array given as b.
func (*HeartbeatAck) MessageClass ¶
func (h *HeartbeatAck) MessageClass() uint8
MessageClass returns the message class in int.
func (*HeartbeatAck) MessageClassName ¶
func (h *HeartbeatAck) MessageClassName() string
MessageClassName returns the name of message class.
func (*HeartbeatAck) MessageType ¶
func (h *HeartbeatAck) MessageType() uint8
MessageType returns the message type in int.
func (*HeartbeatAck) MessageTypeName ¶
func (h *HeartbeatAck) MessageTypeName() string
MessageTypeName returns the name of message type.
func (*HeartbeatAck) Serialize ¶
func (h *HeartbeatAck) Serialize() ([]byte, error)
Serialize returns the byte sequence generated from a HeartbeatAck.
DEPRECATED: use MarshalBinary instead.
func (*HeartbeatAck) SerializeTo ¶
func (h *HeartbeatAck) SerializeTo(b []byte) error
SerializeTo puts the byte sequence in the byte array given as b.
DEPRECATED: use MarshalTo instead.
func (*HeartbeatAck) SetLength ¶
func (h *HeartbeatAck) SetLength()
SetLength sets the length in Length field.
func (*HeartbeatAck) String ¶
func (h *HeartbeatAck) String() string
String returns the HeartbeatAck values in human readable format.
func (*HeartbeatAck) UnmarshalBinary ¶ added in v0.1.3
func (h *HeartbeatAck) UnmarshalBinary(b []byte) error
UnmarshalBinary sets the values retrieved from byte sequence in a M3UA common header.
func (*HeartbeatAck) Version ¶
func (h *HeartbeatAck) Version() uint8
Version returns the version of M3UA in int.
type M3UA ¶
type M3UA interface { MarshalBinary() ([]byte, error) MarshalTo([]byte) error UnmarshalBinary([]byte) error MarshalLen() int Version() uint8 MessageClass() uint8 MessageType() uint8 MessageClassName() string MessageTypeName() string }
M3UA is an interface that defines M3UA messages.
type Notify ¶
type Notify struct { *Header Status *params.Param AspIdentifier *params.Param RoutingContext *params.Param InfoString *params.Param }
Notify is a Notify type of M3UA message.
Spec: 3.8.2, RFC4666.
func DecodeNotify ¶
DecodeNotify decodes given byte sequence as a Notify.
DEPRECATED: use ParseNotify instead.
func ParseNotify ¶ added in v0.1.3
ParseNotify decodes given byte sequence as a Notify.
func (*Notify) DecodeFromBytes ¶
DecodeFromBytes sets the values retrieved from byte sequence in a M3UA common header.
DEPRECATED: use UnmarshalBinary instead.
func (*Notify) MarshalBinary ¶ added in v0.1.3
MarshalBinary returns the byte sequence generated from a Notify.
func (*Notify) MarshalLen ¶ added in v0.1.3
MarshalLen returns the serial length of Notify.
func (*Notify) MarshalTo ¶ added in v0.1.3
MarshalTo puts the byte sequence in the byte array given as b.
func (*Notify) MessageClass ¶
MessageClass returns the message class in int.
func (*Notify) MessageClassName ¶
MessageClassName returns the name of message class.
func (*Notify) MessageType ¶
MessageType returns the message type in int.
func (*Notify) MessageTypeName ¶
MessageTypeName returns the name of message type.
func (*Notify) Serialize ¶
Serialize returns the byte sequence generated from a Notify.
DEPRECATED: use MarshalBinary instead.
func (*Notify) SerializeTo ¶
SerializeTo puts the byte sequence in the byte array given as b.
DEPRECATED: use MarshalTo instead.
func (*Notify) UnmarshalBinary ¶ added in v0.1.3
UnmarshalBinary sets the values retrieved from byte sequence in a M3UA common header.
type SignallingCongestion ¶ added in v0.1.4
type SignallingCongestion struct { *Header NetworkAppearance *params.Param RoutingContext *params.Param AffectedPointCode *params.Param ConcernedDestination *params.Param CongestionIndications *params.Param InfoString *params.Param }
SignallingCongestion is a SignallingCongestion type of M3UA message.
Spec: 3.4.4, RFC4666.
func NewSignallingCongestion ¶ added in v0.1.4
func NewSignallingCongestion(nwApr, rtCtx, apc, cdst, ind, info *params.Param) *SignallingCongestion
NewSignallingCongestion creates a new SignallingCongestion.
func ParseSignallingCongestion ¶ added in v0.1.4
func ParseSignallingCongestion(b []byte) (*SignallingCongestion, error)
ParseSignallingCongestion decodes given byte sequence as a SignallingCongestion.
func (*SignallingCongestion) MarshalBinary ¶ added in v0.1.4
func (s *SignallingCongestion) MarshalBinary() ([]byte, error)
MarshalBinary returns the byte sequence generated from a SignallingCongestion.
func (*SignallingCongestion) MarshalLen ¶ added in v0.1.4
func (s *SignallingCongestion) MarshalLen() int
MarshalLen returns the serial length of SignallingCongestion.
func (*SignallingCongestion) MarshalTo ¶ added in v0.1.4
func (s *SignallingCongestion) MarshalTo(b []byte) error
MarshalTo puts the byte sequence in the byte array given as b.
func (*SignallingCongestion) MessageClass ¶ added in v0.1.4
func (s *SignallingCongestion) MessageClass() uint8
MessageClass returns the message class in int.
func (*SignallingCongestion) MessageClassName ¶ added in v0.1.4
func (s *SignallingCongestion) MessageClassName() string
MessageClassName returns the name of message class.
func (*SignallingCongestion) MessageType ¶ added in v0.1.4
func (s *SignallingCongestion) MessageType() uint8
MessageType returns the message type in int.
func (*SignallingCongestion) MessageTypeName ¶ added in v0.1.4
func (s *SignallingCongestion) MessageTypeName() string
MessageTypeName returns the name of message type.
func (*SignallingCongestion) SetLength ¶ added in v0.1.4
func (s *SignallingCongestion) SetLength()
SetLength sets the length in Length field.
func (*SignallingCongestion) String ¶ added in v0.1.4
func (s *SignallingCongestion) String() string
String returns the SignallingCongestion values in human readable format.
func (*SignallingCongestion) UnmarshalBinary ¶ added in v0.1.4
func (s *SignallingCongestion) UnmarshalBinary(b []byte) error
UnmarshalBinary sets the values retrieved from byte sequence in a M3UA common header.
func (*SignallingCongestion) Version ¶ added in v0.1.4
func (s *SignallingCongestion) Version() uint8
Version returns the version of M3UA in int.
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package params provides the protocol definition and encoding/decoding feature of M3UA Common Paratemeters and M3UA-specific parameters.
|
Package params provides the protocol definition and encoding/decoding feature of M3UA Common Paratemeters and M3UA-specific parameters. |