MMOframework
Pourquoi l'IA Playground Bibliothèques Documentation Rechercher Agence
FR EN
Index

mmo-import-socket

1 symbole · générée le 27 Oct 2026

element

mmo-import-socket

mmo-import-socket.jhs:1

ImportSocket element

<mmo-import-socket url config keys></mmo-import-socket>
Étend
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

Attributs3

Propriétés3

Méthodes14

isConnected()

mmo-import-socket.jhs:157

Check if the socket is connected

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

isClosed()

mmo-import-socket.jhs:165

Check if the socket is closed

isClosed()
retournebooleanTrue 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
retournebooleanTrue if the command was sent, false otherwise