Interface LookupEventProducerInterface
-
public interface LookupEventProducerInterfaceObject that can find the EventProducerInterface object for an address.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MetaDatagetAddressMetaData()Return a MetaData object that can be used to verify the correctness of an address for thelookupmethod.EventProducerInterfacelookup(Object[] address, ReturnWrapper returnWrapper)Find the EventProducerInterface with the given address.
-
-
-
Method Detail
-
lookup
EventProducerInterface lookup(Object[] address, ReturnWrapper returnWrapper) throws Sim0MQException, 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:
SerializationException- when an error occurs while serializing an error responseSim0MQException- when an error occurs while serializing an error response
-
getAddressMetaData
MetaData getAddressMetaData()
Return a MetaData object that can be used to verify the correctness of an address for thelookupmethod.- Returns:
- MetaData; to be used to verify the correctness of an address for the
lookupmethod
-
-