1 21 22 package org.jacorb.notification; 23 24 import org.jacorb.notification.interfaces.Message; 25 import org.jacorb.notification.servant.AbstractProxyConsumerI; 26 import org.omg.CORBA.Any ; 27 import org.omg.CORBA.NVList ; 28 import org.omg.CosNotification.Property; 29 import org.omg.CosNotification.StructuredEvent; 30 31 35 public interface MessageFactory 36 { 37 Message newMessage(Any any, AbstractProxyConsumerI consumer); 38 39 Message newMessage(StructuredEvent structuredEvent, 40 AbstractProxyConsumerI consumer); 41 42 Message newMessage(String interfaceName, String operationName, NVList args, 43 AbstractProxyConsumerI consumer); 44 45 47 Message newMessage(Property[] props); 48 49 Message newMessage(Any any); 50 51 Message newMessage(StructuredEvent structuredEvent); 52 } | Popular Tags |