interest

package
v0.0.0-...-ee7ae68 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 12, 2017 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interest

type Interest struct {
	// contains filtered or unexported fields
}
func CreateFromLink(link link.Link) *Interest

func CreateFromTLV

func CreateFromTLV(tlvs codec.TLV) (*Interest, error)

func CreateWithName

func CreateWithName(name *name.Name) *Interest

func CreateWithNameAndPayload

func CreateWithNameAndPayload(name *name.Name, payloadType uint16, payloadValue payload.Payload) *Interest

func (*Interest) AddContainer

func (i *Interest) AddContainer(container codec.TLV)

func (Interest) Children

func (i Interest) Children() []codec.TLV

func (Interest) Encode

func (i Interest) Encode() []byte

func (*Interest) GetContainer

func (i *Interest) GetContainer(containerType uint16) (codec.TLV, error)

func (Interest) GetPacketType

func (i Interest) GetPacketType() uint16

func (Interest) Identifier

func (i Interest) Identifier() string

func (Interest) Length

func (i Interest) Length() uint16

func (Interest) Name

func (i Interest) Name() *name.Name

func (Interest) NamelessIdentifier

func (i Interest) NamelessIdentifier() string

func (Interest) Payload

func (i Interest) Payload() *payload.Payload

func (Interest) PayloadType

func (i Interest) PayloadType() uint16

func (Interest) String

func (i Interest) String() string

func (Interest) Type

func (i Interest) Type() uint16

func (Interest) TypeString

func (i Interest) TypeString() string

func (Interest) Value

func (i Interest) Value() []byte

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL