Versions in this module Expand all Collapse all v1 v1.0.1 Dec 7, 2021 Changes in this version + const ATTACH_USER_CONFIRM + const ATTACH_USER_REQUEST + const CHANNEL_JOIN_CONFIRM + const CHANNEL_JOIN_REQUEST + const DISCONNECT_PROVIDER_ULTIMATUM + const ERECT_DOMAIN_REQUEST + const MCS_GLOBAL_CHANNEL + const MCS_USERCHANNEL_BASE + const SEND_DATA_INDICATION + const SEND_DATA_REQUEST + type ConnectInitial struct + CalledDomainSelector []byte + CallingDomainSelector []byte + MaximumParameters DomainParameters + MinimumParameters DomainParameters + TargetParameters DomainParameters + UpwardFlag bool + UserData []byte + func NewConnectInitial(userData []byte) ConnectInitial + func (c *ConnectInitial) BER() []byte + type ConnectResponse struct + func NewConnectResponse(userData []byte) *ConnectResponse + func ReadConnectResponse(r io.Reader) (*ConnectResponse, error) + type DomainParameters struct + MaxChannelIds int + MaxHeight int + MaxMCSPDUsize int + MaxTokenIds int + MaxUserIds int + MinThoughput int + NumPriorities int + ProtocolVersion int + func NewDomainParameters(maxChannelIds int, maxUserIds int, maxTokenIds int, numPriorities int, ...) *DomainParameters + func ReadDomainParameters(r io.Reader) (*DomainParameters, error) + func (d *DomainParameters) BER() []byte + type MCS struct + func NewMCS(t core.Transport, recvOpCode MCSDomainPDU, sendOpCode MCSDomainPDU) *MCS + func (m *MCS) Close() error + func (x *MCS) Read(b []byte) (n int, err error) + func (x *MCS) Write(b []byte) (n int, err error) + type MCSChannelInfo struct + ID uint16 + Name string + type MCSClient struct + func NewMCSClient(t core.Transport) *MCSClient + func (c *MCSClient) SendToChannel(data []byte, channelId uint16) (n int, err error) + func (c *MCSClient) SetClientCoreData(width, height uint16) + func (c *MCSClient) Write(data []byte) (n int, err error) + type MCSDomainPDU uint16 + type MCSMessage uint8 + const MCS_TYPE_CONNECT_INITIAL + const MCS_TYPE_CONNECT_RESPONSE