func (c *BackendClient) GetRandomTransactionID() uint32 {
	return c.RandomTransactionID
}
GetRandomTransactionID returns a random transaction id.
package test
import (
	"github.com/brocaar/lorawan/backend"
	context "golang.org/x/net/context"
)
type BackendClient struct {
	SenderID            string
	ReceiverID          string
	Async               bool
	RandomTransactionID uint32
	PRStartReqChan  chan backend.PRStartReqPayload
	PRStopReqChan   chan backend.PRStopReqPayload
	XmitDataReqChan chan backend.XmitDataReqPayload
	ProfileReqChan  chan backend.ProfileReqPayload
	HomeNSReqChan   chan backend.HomeNSReqPayload
	PRStartAns  backend.PRStartAnsPayload
	PRStopAns   backend.PRStopAnsPayload
	XmitDataAns backend.XmitDataAnsPayload
	ProfileAns  backend.ProfileAnsPayload
	HomeNSAns   backend.HomeNSAnsPayload
}
func NewBackendClient() *BackendClient {
	return &BackendClient{
		PRStartReqChan:  make(chan backend.PRStartReqPayload, 10),
		PRStopReqChan:   make(chan backend.PRStopReqPayload, 10),
		XmitDataReqChan: make(chan backend.XmitDataReqPayload, 10),
		ProfileReqChan: make(chan backend.ProfileReqPayload, 10),
		HomeNSReqChan:  make(chan backend.HomeNSReqPayload, 10),
	}
}
func (c *BackendClient) GetSenderID() string {
	return c.SenderID
}
func (c *BackendClient) GetReceiverID() string {
	return c.ReceiverID
}
func (c *BackendClient) IsAsync() bool {
	return c.Async
}