You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 11, 2023. It is now read-only.
Current informations only let the user know if a network object is stored on an engine id with the requested reference.
NetworkPresencesHandlers should be able to provide this kind of infroamtion to the user :
the object's type
the object itself (if allowed)
the object hashcode
the object class's checksum
is the distant object the same (class, hashcode, type, etc or equals) as this object for all engines (or one engine, or a list...)
Example
vallinker= network.getGeneralNetworkObjectLinker
valpresence= linker.getPresence(PacketTraffic/0/7/5)
valfriend="Engine01Identifier"//the engine's identifier we want to extract informationsvalisPresent= presence.isPresentOnEngine(friend) //true if the engine has opened any packet channel at 0/7/5if (isPresent && presence.sameClass[MessagePacketChannel])) {
//we are now sure that the engine have opened a MessagePacketChannel that we can use directly and use to send a messagevalchannel= traffic.getInjectable(MessagePacketChannel, ChannelScopes.retains(friend))
channel.sendMessage("Hello, Friend !")
}