Documentation ¶
Index ¶
- type Destination
- type Forwarder
- func (forwarder *Forwarder) Debug() string
- func (forwarder *Forwarder) EndSession(sessionId *identity.TokenId)
- func (forwarder *Forwarder) ForwardAcknowledgement(srcAddr xgress.Address, acknowledgement *xgress.Acknowledgement) error
- func (forwarder *Forwarder) ForwardPayload(srcAddr xgress.Address, payload *xgress.Payload) error
- func (forwarder *Forwarder) HasDestination(address xgress.Address) bool
- func (forwarder *Forwarder) MetricsRegistry() metrics.Registry
- func (forwarder *Forwarder) PayloadBuffer(sessionId *identity.TokenId, address xgress.Address) *xgress.PayloadBuffer
- func (forwarder *Forwarder) PayloadBufferController() *xgress.PayloadBufferController
- func (forwarder *Forwarder) RegisterDestination(sessionId *identity.TokenId, address xgress.Address, destination Destination)
- func (forwarder *Forwarder) RegisterLink(link xlink.Xlink)
- func (forwarder *Forwarder) Route(route *ctrl_pb.Route)
- func (forwarder *Forwarder) StartDestinations(sessionId *identity.TokenId)
- func (forwarder *Forwarder) TraceController() trace.Controller
- func (forwarder *Forwarder) UnregisterDestinations(sessionId *identity.TokenId)
- func (forwarder *Forwarder) UnregisterLink(link xlink.Xlink)
- func (forwarder *Forwarder) Unroute(sessionId *identity.TokenId, now bool)
- type Options
- type XgressDestination
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Destination ¶
type Forwarder ¶
type Forwarder struct {
// contains filtered or unexported fields
}
func NewForwarder ¶
func (*Forwarder) EndSession ¶
func (*Forwarder) ForwardAcknowledgement ¶
func (*Forwarder) ForwardPayload ¶
func (*Forwarder) HasDestination ¶
func (*Forwarder) MetricsRegistry ¶
func (*Forwarder) PayloadBuffer ¶
func (*Forwarder) PayloadBufferController ¶
func (forwarder *Forwarder) PayloadBufferController() *xgress.PayloadBufferController
func (*Forwarder) RegisterDestination ¶
func (*Forwarder) RegisterLink ¶
func (*Forwarder) StartDestinations ¶
func (*Forwarder) TraceController ¶
func (forwarder *Forwarder) TraceController() trace.Controller
func (*Forwarder) UnregisterDestinations ¶
func (*Forwarder) UnregisterLink ¶
type XgressDestination ¶
type XgressDestination interface { Destination Close() Start() IsTerminator() bool Label() string }
Click to show internal directories.
Click to hide internal directories.