Examples of NexsmLog


Examples of net.gridshield.nexsm.entityclasses.NexsmLog

    }// </editor-fold>//GEN-END:initComponents

    private void jListEventsMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jListEventsMouseClicked
        Object o = jListEvents.getSelectedValue();
        if (o instanceof NexsmLog) {
            NexsmLog nl = (NexsmLog)o;
            jTxtEventText.setText(nl.getTime() + "\n" + nl.getText());
        }
    }//GEN-LAST:event_jListEventsMouseClicked
View Full Code Here

Examples of net.gridshield.nexsm.entityclasses.NexsmLog

                pr = (PushResult)o;
                if (pr.getType() == PusherEvent.PusherEventType.ERROR) {
                    me = new MapperEvent(this);
                    me.setMapperType(MapperActionType.DisplayError);
                    Date d = new Date(System.currentTimeMillis());
                    NexsmLog nl = new NexsmLog(d, NexsmLogType.Critical, "Pusher error",
                            pr.getMsg());
                    me.setParams(nl);
                    fireMapperActionRequested(me);
                } else if (pr.getType() == PusherEvent.PusherEventType.FINISHED_OK) {
                    me = new MapperEvent(this);
                    me.setMapperType(MapperActionType.DisplayInfo);
                    Date d = new Date(System.currentTimeMillis());
                    NexsmLog nl = new NexsmLog(d, NexsmLogType.Informational, "Pusher finished",
                            pr.getMsg());
                    me.setParams(nl);
                    fireMapperActionRequested(me);
                }
            }
View Full Code Here

Examples of net.gridshield.nexsm.entityclasses.NexsmLog

        for (Object n: l) {
            if (n instanceof ErrorMapper) {               
                MapperEvent me = new MapperEvent(this);
                me.setMapperType(MapperActionType.DisplayError);
                Date d = new Date(System.currentTimeMillis());
                NexsmLog nl = new NexsmLog(d, NexsmLogType.Critical, "Puller error",
                            ((ErrorMapper)n).getMessage());
                me.setParams(nl);
                fireMapperActionRequested(me);
            } else if (n instanceof LoggedInUser) {
                LoggedInUser li = (LoggedInUser)n;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.