Interface LookupEventProducer
public interface LookupEventProducer
Object that can find the EventProducer object for an address.
-
Method Summary
Modifier and TypeMethodDescriptionorg.djutils.metadata.MetaData
Return a MetaData object that can be used to verify the correctness of an address for thelookup
method.org.djutils.event.EventProducer
lookup
(Object[] address, ReturnWrapper returnWrapper) Find the EventProducerInterface with the given address.
-
Method Details
-
lookup
org.djutils.event.EventProducer lookup(Object[] address, ReturnWrapper returnWrapper) throws org.sim0mq.Sim0MQException, org.djutils.serialization.SerializationException Find the EventProducerInterface with the given address.- Parameters:
address
- Object[]; the addressreturnWrapper
- ReturnWrapper; to be used to send back complaints about bad addresses, etc.- Returns:
- EventProducerInterface; can be null in case the address is (no longer) valid
- Throws:
org.djutils.serialization.SerializationException
- when an error occurs while serializing an error responseorg.sim0mq.Sim0MQException
- when an error occurs while serializing an error response
-
getAddressMetaData
org.djutils.metadata.MetaData getAddressMetaData()Return a MetaData object that can be used to verify the correctness of an address for thelookup
method.- Returns:
- MetaData; to be used to verify the correctness of an address for the
lookup
method
-