Documentation
¶
Index ¶
- Constants
- type ChannelClient
- type DvcChannelHandler
- type DvcClient
- func (c *DvcClient) GetType() (string, uint32)
- func (c *DvcClient) LoadAddin(f core.ChannelSender)
- func (c *DvcClient) Process(s []byte)
- func (c *DvcClient) RegisterHandler(name string, handler DvcChannelHandler)
- func (c *DvcClient) Send(s []byte) (int, error)
- func (c *DvcClient) SendDvcData(channelId uint32, data []byte)
- func (c *DvcClient) Sender(f core.ChannelSender)
- type DvcHeader
Constants ¶
View Source
const ( ChannelName = plugin.DRDYNVC_SVC_CHANNEL_NAME ChannelOption = plugin.CHANNEL_OPTION_INITIALIZED | plugin.CHANNEL_OPTION_ENCRYPT_RDP )
View Source
const ( DYNVC_CREATE_REQ = 0x01 DYNVC_DATA_FIRST = 0x02 DYNVC_DATA = 0x03 DYNVC_CLOSE = 0x04 DYNVC_CAPABILITIES = 0x05 DYNVC_DATA_FIRST_COMPRESSED = 0x06 DYNVC_DATA_COMPRESSED = 0x07 DYNVC_SOFT_SYNC_REQUEST = 0x08 DYNVC_SOFT_SYNC_RESPONSE = 0x09 )
View Source
const (
MAX_DVC_CHANNELS = 20
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChannelClient ¶
type ChannelClient struct {
// contains filtered or unexported fields
}
type DvcChannelHandler ¶ added in v0.4.5
type DvcChannelHandler interface {
Process(data []byte)
}
DvcChannelHandler processes data for a specific dynamic virtual channel.
type DvcClient ¶
type DvcClient struct {
// contains filtered or unexported fields
}
func NewDvcClient ¶
func NewDvcClient() *DvcClient
func (*DvcClient) LoadAddin ¶
func (c *DvcClient) LoadAddin(f core.ChannelSender)
func (*DvcClient) RegisterHandler ¶ added in v0.4.5
func (c *DvcClient) RegisterHandler(name string, handler DvcChannelHandler)
RegisterHandler registers a handler for a named DVC channel.
func (*DvcClient) SendDvcData ¶ added in v0.4.5
SendDvcData sends data on a DVC channel wrapped in a DYNVC_DATA PDU.
func (*DvcClient) Sender ¶
func (c *DvcClient) Sender(f core.ChannelSender)
Click to show internal directories.
Click to hide internal directories.