mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-03 20:27:35 +03:00
handle the transport parameters in the packet packer
This commit is contained in:
parent
caf8da9adc
commit
9f5bfbe292
5 changed files with 31 additions and 40 deletions
|
@ -9,6 +9,7 @@ import (
|
|||
|
||||
gomock "github.com/golang/mock/gomock"
|
||||
ackhandler "github.com/lucas-clemente/quic-go/internal/ackhandler"
|
||||
handshake "github.com/lucas-clemente/quic-go/internal/handshake"
|
||||
protocol "github.com/lucas-clemente/quic-go/internal/protocol"
|
||||
wire "github.com/lucas-clemente/quic-go/internal/wire"
|
||||
)
|
||||
|
@ -46,6 +47,16 @@ func (mr *MockPackerMockRecorder) ChangeDestConnectionID(arg0 interface{}) *gomo
|
|||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ChangeDestConnectionID", reflect.TypeOf((*MockPacker)(nil).ChangeDestConnectionID), arg0)
|
||||
}
|
||||
|
||||
// HandleTransportParameters mocks base method
|
||||
func (m *MockPacker) HandleTransportParameters(arg0 *handshake.TransportParameters) {
|
||||
m.ctrl.Call(m, "HandleTransportParameters", arg0)
|
||||
}
|
||||
|
||||
// HandleTransportParameters indicates an expected call of HandleTransportParameters
|
||||
func (mr *MockPackerMockRecorder) HandleTransportParameters(arg0 interface{}) *gomock.Call {
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HandleTransportParameters", reflect.TypeOf((*MockPacker)(nil).HandleTransportParameters), arg0)
|
||||
}
|
||||
|
||||
// MaybePackAckPacket mocks base method
|
||||
func (m *MockPacker) MaybePackAckPacket() (*packedPacket, error) {
|
||||
ret := m.ctrl.Call(m, "MaybePackAckPacket")
|
||||
|
@ -107,23 +118,3 @@ func (m *MockPacker) QueueControlFrame(arg0 wire.Frame) {
|
|||
func (mr *MockPackerMockRecorder) QueueControlFrame(arg0 interface{}) *gomock.Call {
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "QueueControlFrame", reflect.TypeOf((*MockPacker)(nil).QueueControlFrame), arg0)
|
||||
}
|
||||
|
||||
// SetMaxPacketSize mocks base method
|
||||
func (m *MockPacker) SetMaxPacketSize(arg0 protocol.ByteCount) {
|
||||
m.ctrl.Call(m, "SetMaxPacketSize", arg0)
|
||||
}
|
||||
|
||||
// SetMaxPacketSize indicates an expected call of SetMaxPacketSize
|
||||
func (mr *MockPackerMockRecorder) SetMaxPacketSize(arg0 interface{}) *gomock.Call {
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetMaxPacketSize", reflect.TypeOf((*MockPacker)(nil).SetMaxPacketSize), arg0)
|
||||
}
|
||||
|
||||
// SetOmitConnectionID mocks base method
|
||||
func (m *MockPacker) SetOmitConnectionID() {
|
||||
m.ctrl.Call(m, "SetOmitConnectionID")
|
||||
}
|
||||
|
||||
// SetOmitConnectionID indicates an expected call of SetOmitConnectionID
|
||||
func (mr *MockPackerMockRecorder) SetOmitConnectionID() *gomock.Call {
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetOmitConnectionID", reflect.TypeOf((*MockPacker)(nil).SetOmitConnectionID))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue