Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

edu.mit.media.* (242)edu.mit.wi.* (967)

Package Samples:

edu.mit.media.hive.agent
edu.mit.media.hive.agent.filter
edu.mit.media.hive.agent.games.hunter
edu.mit.media.hive.agent.hiveui.remoteui
edu.mit.media.hive.agent.image
edu.mit.media.hive.agent.thing
edu.mit.media.hive.agent.wearable
edu.mit.media.hive.rdf
edu.mit.media.hive.shadow
edu.mit.media.hive.shadow.sysinfo
edu.mit.media.hive.shadow.thing
edu.mit.media.hive.support
edu.mit.media.hive.support.pocketserver
edu.mit.media.hive
edu.mit.media.hive.agent.cell
edu.mit.media.hive.agent.hiveui
edu.mit.media.hive.agent.hiveui.iconicui
edu.mit.media.hive.agent.hiveui.treeui
edu.mit.media.hive.agent.service

Classes:

AgentImpl: Base class for Hive agent implementations. An agent has a life cycle. Once in its lifetime, the agent is constructed by the no argument constructor. The agent arrives on a server; its doLocalSetup() method is called. This happens whenever it first comes to a server, whether created by Cell.createNewAgent(Class) or when it moves to the server. The agent's doBehavior() method is called. This method is the agent's main loop, where it's behavior is implemented. The agent is free to do what it wants, but should respect timeToStop . The agent sould never exit this method, a convienience method waitUntilDeath ...
CellAddress: This immutable class represents the URL of a Hive Cell. The protocol portion of the url is defined to be "hive", and will not allow the construction of urls with a different protocol. CellAddress follows the CISS (Common Internet Scheme Standard) Spec, although currently the file and ref portions of the URL are not used by the Hive system. WARNING: Java deviates from it's spec (at least on windows) in the DNS lookup behavior. Doing a InetAdderss.getByName(host).getHostName() does NOT return the fully qualified hostname as it should. Rather, some wierd caching behavior is causing the original argument ...
IconicUIAgentImpl: The UIAgent for a boxes and lines style GUI. BUGS: - Test this (from uiCanvas): Let the Canvas know it shouldn't start any new renders, as its agent is being killed. This might only be necessary because of the IcUIAg icon hack, test later. - A monitors B, A goes down, A comes back up, A tries to monitor B again, B throws rmi errors (problem with rmi, but might be possible to do a workaround). (not me, not raffi, sun.) - A monitors B, A kills self, A throws null. OR EVEN A monitors B, A stops monitoring B, A kills self, A throws null. (not me) - IcUIAg stops monitoring its own cell, then AWTUI kills ...
CellListAgentImpl: An agent that keeps a list of servers. Agents are in two flavours: a "master" agent that broadcasts events to whomever cares to listen, and "client" agents that subscribe to masters to track who is up or down. Eventually, the distinction between masters and clients might disappear, to make a more decentralized system. The agent sends events telling subscribers when servers are coming up or going down. Typically, only the master agent will be subscribed to. However, the slave agents can also rebroadcast these events, but -only- to other local agents The agent receives events from AgentMonitoringAgents ...
EventReceivingDescription: this interface is used so the event receiving agent can list the objects that it can respond to best. event receiving agents are supposed to be designed so they can repsond to any generic event, and then take special notice of certain events (ie -- string display agents will display whatever event they will get mouse events, etc, etc -- but it will display a string if it gets a string. so the String object is a specific event that the StringDisplayAgentImpl can handle. so this interface allows agent authors to list the objects that it can specially handle. this information is not stuck in the Description ...
UnavailableException: Defines an exception that a web service throws to indicate that it is permanently or temporarily unavailable. When a web service is permanently unavailable, something is wrong with it, and it cannot handle requests until action is taken. For example, a web service might be configured incorrectly. A web service is temporarily unavailable if it cannont handle requests momentarily due to some system-wide problem. For example, a database server might be down or insufficient memory to handle request. Web services containers can safely handle both types of unavailable exceptions in the same way. Treating ...
RequestHandler: The base class for all RequestHandler Objects This class is intended to take in a DASRequest object Inspect its contents and then construct a properly formatted URL from that object a typical use for these objects would be to construct a DASRequest: DASDSNRequestHandler handler = new DASRequestHandler(); set its DASRequest with DASRequest 55 get some MetaData about the server MetaData and then execute DASResponse 55
EventSendingHelper: Helper class for EventSendingAgent interface; agent implementations can delegate methods to this class. This class maintains a list of listeners for events, as well as a count of events it has sent. When broadcastEvent is called by the client, the EventSendingHelper delivers the message to all current listeners. By default these messages are sent asynchronously. Please be careful if creating Hive objects to send by hand -- use the getCount() method in this object to determine the value that the count field in the HiveEvent constructor can use. This is not the recommended way to send events -- it ...
WebService: Defines methods that all Web Services must implement. A Web Service is a program that runs within the OmniGene container. Clients can make RPC calls to Web Service methods by SOAP messages. A SOAP message will contain the method name to call and the parameters the method is expecting. Another SOAP message will be sent back to the client containing the result from the Web Service method. To implement this interface you can write a generic Web Service by extending GenericWebService or one of the known subclasses. This interface defines methods that get the version of the Web Service, the encoding ...
PedFileParser: Title: PedFileParser.java Description: Uses it to parse a pedigree file and store the data in object PedFile. The format of pedigree file is: column 1: familyID column 2: individual ID column 3: dad ID column 4: mom ID column 5: gender ( 1 is male, 2 is female ) column 6: affected status (1 is unaffected, 2 is affected ) column 7: (optional) libility column 8 and 9: marker 1 (seperated by space) column 2n and 2n+1: marker n (seperated by space) Columns are seperated by tab except between one set of marker. Family ID plus individual ID is unique and "0" stands for data missing.
AsyncCaller: This is the default implementation of the asynchronous caller. It first creates the AsyncResult object, then spawns a thread which will do the asynchronous call. If the delay time passed to the watching thread is non-negative, it will spin off another thread which will sleep for a specified amount of time. If the calling thread does not complete before the watching thread, then it is killed and the AsyncResult will contain an AsyncCallNotCompleteException. This class is implemented as a singleton because there is no need to have more than one object at a time running.
Debug: The Debug class implements a simple debugging facility. Debugging messages are sent using one of the println methods, which are then sent out the debugging stream (by default, System.err ). Messages are tagged with a debugging level; if the message is less serious than the current debugging level, then the message is not printed. Hive code should use this facility for all debugging messages. The default debug level is NOTICE . Note: the class is entirely static, you should not instantiate it.
CellAgent: This interface is used to tag those agents which are "privledged". The reason this is used is for the session management support. When the AgentGraph records the agents which are in the system, it will inevitably record the UIManagerAgent and the CellListAgent. These will be restored by the Cell itself, so the SerializingAgentGraph has to realize which ones it should not restore . I'm assuming (I'm hoping I'm right), is that only one type of a "privledged" agent will be active on a server at one time. Please tell me if I'm wrong.
AuthenticateIP: Authenticates an IP address to a specified system or datastore. AuthenticateIP checks the incoming IP address to see if it's allowed to access the specified system or datastore. The access control list is a properties file that has a format of ip-address=system-name1,system-name2. The value is a comma delimited value of system names that the IP address is allowed to access. If a value of "all" is found then the IP address can access all systems and datastores. A value of "none" rejects the incoming request to any systems.
AutoMonitoringAgentImpl: this agent's sole purpose is to ask the agent monitoring agent to monitor any servers which have appeared on the scene (as according to the server list agent). this works by having this agent subscribe to the local server list agent and whenever it gets a message that a server goes up, it will ask the agent monitoring agent to monitor it. if a cell goes down or withdraws, then it will ask the agent monitoring agent to stop monitoring it
BaseUIAgentImpl: the standard base class for all ui agents -- this class will handle the minimum amount of state maintainance, and it will also handles a lot of the communications to the agent monitoring agents todo list -- the ability to monitor less cells than the agent monitoring agent is monitoring -- this would require that we filter the information the agent monitoring agent is sending and we need to keep track of exactly who we are monitoring
SerializableImage: Each instance of this class represents an image stored as an array of ints. These images are not AWT images - they are device independent images that can be serialized. They can be created from AWT Images, or from subclasses such as PPM that read from files. The format is an array of integers - each integer is a pixel in ARGB format (the same that MemoryImageSource uses in the default color model).
PedFileEntry: Title: PedFileEntry.java Description: Stands for one row in a pedigree file. The columns of pedigree file are: column 1: familyID column 2: individual ID column 3: dad ID column 4: mom ID column 5: gender column 6: affected status column 7: (optional) libility column 8 and 9: marker 1 (seperated by space) column 2n and 2n+1: marker n (seperated by space)
MarkerResult: Title: MarkerResult.java Description: Gets the result for a marker Result includes observed heterozyosity, predicted heterozygosity, Hardy-Weinberg test p-value, genotyped percent, number of families with a fully genotyped trio, number of Mendelian inheritance errors, rating, minor allele, minor allele frequency, major allele and major allele frequency.
DASFeaturesPagingDAO: The methods in this interface are the public face of TraderBean. The signatures of the methods are identical to those of the EJBean, except that these methods throw a java.rmi.RemoteException. Note that the EJBean does not implement this interface. The corresponding code-generated EJBObject, TraderBeanE, implements this interface and delegates to the bean.
CellEvent: This is the event data for the server event -- it is designed to be able to be remitted. The case in which this becomes important is when then CellEventMonitor first creates this -- it will get a different sender and count code. These codes will be changed when they hit the agent that emits them, but the superclass will still contain the original code
GenericFilterAgentImpl: This abstract class is the superclass for all image filters. Subclassers need merely to implement the abstract filter method to have a working filter. It is very important that filter return a NEW image, and not merely a modified copy of the argument, or else there will be a lot of issues with multiple agents sharing copies of the same image.
BaseAWTGUIDisplayCellListButtonFrame: this class pops up a frame that has the servers listed in a choice field and then a button -- whatever extends this class can set what the title of the frame is, what the button label says, and the action performed when the button is pushed. right now this class is used for the shut down server and the stop monitoring server boxes
BaseSwingGUIDisplayCellListButtonFrame: this class pops up a frame that has the servers listed in a choice field and then a button -- whatever extends this class can set what the title of the frame is, what the button label says, and the action performed when the button is pushed. right now this class is used for the shut down server and the stop monitoring server boxes
GraphDifferenceHelper: this is a class of static methods which are just useful to help out when we need to know the "difference" between two graphs. this will help us tell the list of agents which have disappeared, the list of agents that have been added, the list of connections that have disappeared, and the list of connections that have been added

Home | Contact Us | Privacy Policy | Terms of Service