[openxdas-users] help
Brought to you by:
dsandersorem,
jcalcote
From: Daniele De S. <dan...@en...> - 2008-11-21 10:59:14
|
Hi! I'm new user of openxdas. I managed the xdas.filter file in the same pc where xdasd is loaded. I use this java class as client: public class AllTests { public static void main( String[] args) throws XDasException, SocketException, IOException { try { // String sOriginatorLocationName, String sOriginatorLocationAddress, String sOriginatorServiceType, String sOriginatorAuthAuthority, String sOriginatorPrincipalName, String sOriginatorPrincipalIdentity XDasSession session = new XDasSession("sOriginatorLocationName", "sOriginatorLocationAddress", "sOriginatorServiceType", "sOriginatorAuthAuthority", "sOriginatorPrincipalName", "sOriginatorPrincipalIdentity"); //String sInitiatorInfo,String sTargetInfo,String sEventInfo XDasRecord rec = session.XDasStartRecord(XDasEvents.XDAS_AE_QUERY_ASSOC_CONTEXT, XDasOutcomes.XDAS_OUT_ENTITY_NON_EXISTENT, "sInitiatorInfoSSSSS", "sTargetInfo", "sEventInfo"); // rec. rec.commit(); } catch (XDasException ex) { System.out.println( "XDas Error: " + ex.getStatus() + ", Minor Code: " + ex.getMinorStatus()); } } } With this class I send an event that I filter in the xdas.filter file. With this file I sent a mail to a mail account. Some questions: How can I send an event from a PC to other PC? (xdasd may loaded on the two pc,isn't right?) if I send an event with AllTests class on a server that filtered it, that will be send to other server xdasd? Thank you --------------------------------------------- Daniele De Santis |