mil.dod.th.ose.shell/src/mil/dod/th/ose/shell/RemoteEventAdminCommands.java
@Descriptor("Print all remote event admin registrations.")
    public void eventRegs(final CommandSession session)
    {
        final PrintStream out = session.getConsole();
        final Map<Integer, RemoteEventRegistration> regs = m_RemoteEventAdmin.getRemoteEventRegistrations();
        for (Integer regId : regs.keySet())
        {
            final long expHours = m_RemoteEventAdmin.getRemoteEventExpirationHours(regId);
            out.printf("Registration ID: %d (Expires in %d-%d hours)\n%s", regId, expHours, expHours + 1,
                    regs.get(regId));
        }
    }
/**
     * Prints all remote event registrations.
     * @param session
     *      provides access to the Gogo shell session
     */
Prints all remote event registrations.
@param session
provides access to the Gogo shell session
Prints all remote event registrations . @param session provides access to the Gogo shell session
@Descriptor("Print all remote event admin registrations.")
    public void eventRegs(final CommandSession session)
    {
        final PrintStream out = session.getConsole();
        final Map<Integer, RemoteEventRegistration> regs = m_RemoteEventAdmin.getRemoteEventRegistrations();
        for (Integer regId : regs.keySet())
        {
            final long expHours = m_RemoteEventAdmin.getRemoteEventExpirationHours(regId);
            out.printf("Registration ID: %d (Expires in %d-%d hours)\n%s", regId, expHours, expHours + 1,
                    regs.get(regId));
        }
    }
@ Descriptor ( "Print all remote event admin registrations." ) public void eventRegs ( final CommandSession session ) { final PrintStream out = session . getConsole ( ) ; final Map < Integer , RemoteEventRegistration > regs = m_RemoteEventAdmin . getRemoteEventRegistrations ( ) ; for ( Integer regId : regs . keySet ( ) ) { final long expHours = m_RemoteEventAdmin . getRemoteEventExpirationHours ( regId ) ; out . printf ( "Registration ID: %d (Expires in %d-%d hours)\n%s" , regId , expHours , expHours + 1 , regs . get ( regId ) ) ; } }
Prints all remote event registrations.
Prints all remote event registrations .