jdwp

package
v1.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 17, 2024 License: AGPL-3.0, Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const JDWP = "jdwp"

Variables

This section is empty.

Functions

func DetectJDWPVersion

func DetectJDWPVersion(conn net.Conn, timeout time.Duration) (*plugins.ServiceJDWP, error)

Types

type JDWPPacket

type JDWPPacket struct {
	Length     uint32
	ID         uint32
	Flags      byte
	CommandSet byte
	Command    byte
}

type JDWPPlugin

type JDWPPlugin struct{}

func (*JDWPPlugin) Name

func (p *JDWPPlugin) Name() string

func (*JDWPPlugin) PortPriority

func (p *JDWPPlugin) PortPriority(port uint16) bool

func (*JDWPPlugin) Priority

func (p *JDWPPlugin) Priority() int

func (*JDWPPlugin) Run

func (p *JDWPPlugin) Run(conn net.Conn, timeout time.Duration, target plugins.Target) (*plugins.Service, error)

func (*JDWPPlugin) Type

func (p *JDWPPlugin) Type() plugins.Protocol

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL