org.tfe.core
Class AppsCallBackImpl

java.lang.Object
  |
  +--org.omg.PortableServer.Servant
        |
        +--org.tfe.core.AppsCallBackPOA
              |
              +--org.tfe.core.AppsCallBackImpl
All Implemented Interfaces:
AppsCallBackOperations, org.omg.CORBA.portable.InvokeHandler

public class AppsCallBackImpl
extends AppsCallBackPOA


Constructor Summary
AppsCallBackImpl(Client aClient)
           
 
Method Summary
 void _initialize_inheritance_tree()
           
 void AlertCallback(Alert a)
          Processes alerts received from the RTA Server This function receives and processes Alerts received from the RTA server.
 void AlertViewedCallback(int ID)
           
 void MessageCallback(java.lang.String message)
          Processes messages received from the RTA Server.
 
Methods inherited from class org.tfe.core.AppsCallBackPOA
_all_interfaces, _invoke, _this, _this
 
Methods inherited from class org.omg.PortableServer.Servant
_default_POA, _get_delegate, _get_interface_def, _is_a, _non_existent, _object_id, _orb, _poa, _set_delegate, _this_object, _this_object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AppsCallBackImpl

public AppsCallBackImpl(Client aClient)
Method Detail

AlertCallback

public void AlertCallback(Alert a)
Processes alerts received from the RTA Server This function receives and processes Alerts received from the RTA server. It receives them from the server and sends them to the newAlert function of the mainConsole class.


MessageCallback

public void MessageCallback(java.lang.String message)
Processes messages received from the RTA Server. This function processes messages received from the RTA Server. If the message received is "hb", this is a server heartbeat and is ignored. Heartbeats are used to ensure that clients are still connected and valid. If not, the server administratively disconnects the clients, preventing several dead clients from causing a denial of service. If the message is anything other than "hb", the function checks to see if the ChatFrame is open, and if it is, the message is displayed in the ChatFrame's TextArea.

Parameters:
message - the message to be displayed in the ChatFrame.

_initialize_inheritance_tree

public void _initialize_inheritance_tree()

AlertViewedCallback

public void AlertViewedCallback(int ID)