Index

mmo-import-socket

1 symbol · generated 5 Oct 2026

element

mmo-import-socket

mmo-import-socket.jhs:1

ImportSocket element

<mmo-import-socket url config keys></mmo-import-socket>
Extends
CustomShadowElement

Index

urlthe url of the import socket
configthe configuration to use
keysthe keys to import in the configuration
url accessorGet the URL of the import socket
config accessorGet the name of the configuration to use
keys accessorGet the keys to import in the configuration
constructor()
init()
log(msg)Log a message
run()Run the import
stop()Stop the import
isConnected()Check if the socket is connected
isClosed()Check if the socket is closed
send(cmd)Send a command to the socket
receive(data)Receive data from the socket
close()Close the socket
toggleConnection()Toggle the connection
update()Update the status of the connection
downloadLogs()Download the logs
clearLogs()Clear the logs

Attributes3

Properties3

Methods14

isConnected()

mmo-import-socket.jhs:157

Check if the socket is connected

isConnected()
returnsbooleanTrue if the socket is connected, false otherwise

isClosed()

mmo-import-socket.jhs:165

Check if the socket is closed

isClosed()
returnsbooleanTrue if the socket is closed, false otherwise

send(cmd)

mmo-import-socket.jhs:174

Send a command to the socket

send(cmd)
cmdstring- The command to send
returnsbooleanTrue if the command was sent, false otherwise