Documentation ¶
Index ¶
- func Bind(localLog zerolog.Logger, args ...any) error
- func WithApplicationServiceElementAseID(aseID int, ase ApplicationServiceElement) GenericApplier[*applicationServiceElement]
- func WithClientCID(cid int, requirements ClientRequirements) GenericApplier[*client]
- func WithServerSID(sid int, requirements ServerRequirements) GenericApplier[*server]
- func WithServiceAccessPointSapID(sapID int, sap ServiceAccessPoint) GenericApplier[*serviceAccessPoint]
- type ApplicationServiceElement
- type ApplicationServiceElementContract
- type ApplicationServiceElementRequirements
- type CPDU
- type Client
- type ClientContract
- type ClientRequirements
- type ElementService
- type Server
- type ServerContract
- type ServerRequirements
- type ServiceAccessPoint
- type ServiceAccessPointContract
- type ServiceAccessPointRequirements
- type ServiceElement
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithApplicationServiceElementAseID ¶
func WithApplicationServiceElementAseID(aseID int, ase ApplicationServiceElement) GenericApplier[*applicationServiceElement]
func WithClientCID ¶
func WithClientCID(cid int, requirements ClientRequirements) GenericApplier[*client]
func WithServerSID ¶
func WithServerSID(sid int, requirements ServerRequirements) GenericApplier[*server]
func WithServiceAccessPointSapID ¶
func WithServiceAccessPointSapID(sapID int, sap ServiceAccessPoint) GenericApplier[*serviceAccessPoint]
Types ¶
type ApplicationServiceElement ¶
type ApplicationServiceElement interface { ApplicationServiceElementContract ApplicationServiceElementRequirements }
type ApplicationServiceElementContract ¶
type ApplicationServiceElementContract interface { utils.Serializable Request(args Args, kwArgs KWArgs) error Response(args Args, kwArgs KWArgs) error GetElementId() *int GetElementService() ElementService // contains filtered or unexported methods }
ApplicationServiceElementContract provides a set of functions which can be overwritten by a sub struct
func NewApplicationServiceElement ¶
func NewApplicationServiceElement(localLog zerolog.Logger, options ...Option) (ApplicationServiceElementContract, error)
type ApplicationServiceElementRequirements ¶
type ApplicationServiceElementRequirements interface { Confirmation(args Args, kwArgs KWArgs) error Indication(args Args, kwArgs KWArgs) error }
ApplicationServiceElementRequirements provides a set of functions which must be overwritten by a sub struct
type Client ¶
type Client interface { ClientContract ClientRequirements }
type ClientContract ¶
type ClientContract interface { fmt.Stringer utils.Serializable GetClientID() *int Request(args Args, kwArgs KWArgs) error // contains filtered or unexported methods }
ClientContract provides a set of functions which can be overwritten by a sub struct
type ClientRequirements ¶
type ClientRequirements interface {
Confirmation(args Args, kwArgs KWArgs) error
}
ClientRequirements provides a set of functions which must be overwritten by a sub struct
type ElementService ¶
type ElementService interface { SapIndication(args Args, kwArgs KWArgs) error SapConfirmation(args Args, kwArgs KWArgs) error }
ElementService is required by ApplicationServiceElementContract to work properly
type Server ¶
type Server interface { ServerContract ServerRequirements }
type ServerContract ¶
type ServerContract interface { fmt.Stringer utils.Serializable Response(args Args, kwArgs KWArgs) error HasServerPeer() bool GetServerId() *int // contains filtered or unexported methods }
ServerContract provides a set of functions which can be overwritten by a sub struct
type ServerRequirements ¶
type ServerRequirements interface {
Indication(args Args, kwArgs KWArgs) error
}
ServerRequirements provides a set of functions which must be overwritten by a sub struct
type ServiceAccessPoint ¶
type ServiceAccessPoint interface { ServiceAccessPointContract ServiceAccessPointRequirements }
type ServiceAccessPointContract ¶
type ServiceAccessPointContract interface { fmt.Stringer utils.Serializable GetServiceID() *int SapRequest(Args, KWArgs) error SapResponse(Args, KWArgs) error GetServiceElement() ServiceElement // contains filtered or unexported methods }
ServiceAccessPointContract provides a set of functions which can be overwritten by a sub struct
func NewServiceAccessPoint ¶
func NewServiceAccessPoint(localLog zerolog.Logger, options ...Option) (ServiceAccessPointContract, error)
type ServiceAccessPointRequirements ¶
type ServiceAccessPointRequirements interface { SapIndication(Args, KWArgs) error SapConfirmation(Args, KWArgs) error }
ServiceAccessPointRequirements provides a set of functions which must be overwritten by a sub struct