remote_jvm_connections

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddConnection

func AddConnection(pid int32, host string, port int)

func ClearConnections

func ClearConnections()

func RemoveConnection

func RemoveConnection(pid int32)

func Size

func Size() int

func WaitForConnection

func WaitForConnection(pid int32, timeout time.Duration) bool

Types

type SocketConnection

type SocketConnection struct {
	Host  string
	Port  int
	Mutex sync.Mutex
}

func GetConnection

func GetConnection(pid int32) *SocketConnection

func (*SocketConnection) Address

func (a *SocketConnection) Address() string

Jump to

Keyboard shortcuts

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