org.mbari.siam.operations.portal
Class SessionParameter

java.lang.Object
  extended by org.mbari.siam.operations.portal.SessionParameter
Direct Known Subclasses:
PortalSession

public abstract class SessionParameter
extends java.lang.Object

SessionParameter

Author:
Kent Headley

Field Summary
static long NULL_DEVICE
           
static int NULL_KEY
           
static long NULL_NODE
           
static int NULL_PARAMETER
           
static long NULL_SESSION
           
 
Constructor Summary
SessionParameter()
           
SessionParameter(long session, long node, long device)
           
 
Method Summary
 long device()
           
 long endTime()
           
 java.lang.String formatRecord(long timestamp, long nodeID, long deviceID, java.lang.String parameterName, int parameterID, java.lang.String value)
           
 java.lang.String formatRecord(long timestamp, long nodeID, long deviceID, java.lang.String parameterName, int parameterID, java.lang.String value, java.lang.String delimiter)
           
 java.lang.String formatRecord(java.lang.String message)
           
abstract  java.lang.Object getParameter(int key)
           
 long node()
           
abstract  void notify(PortalEvent event)
           
 long session()
           
 java.lang.String sessionName()
           
 void setDeviceID(long device)
           
 void setEndTime(long end)
           
 void setNodeID(long node)
           
 void setSessionID(long sessionID)
           
 void setSessionName(java.lang.String name)
           
 void setStartTime(long start)
           
 long startTime()
           
abstract  java.lang.String summarize()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NULL_SESSION

public static final long NULL_SESSION
See Also:
Constant Field Values

NULL_NODE

public static final long NULL_NODE
See Also:
Constant Field Values

NULL_DEVICE

public static final long NULL_DEVICE
See Also:
Constant Field Values

NULL_PARAMETER

public static final int NULL_PARAMETER
See Also:
Constant Field Values

NULL_KEY

public static final int NULL_KEY
See Also:
Constant Field Values
Constructor Detail

SessionParameter

public SessionParameter()

SessionParameter

public SessionParameter(long session,
                        long node,
                        long device)
Method Detail

notify

public abstract void notify(PortalEvent event)

getParameter

public abstract java.lang.Object getParameter(int key)

summarize

public abstract java.lang.String summarize()

setSessionName

public void setSessionName(java.lang.String name)

sessionName

public java.lang.String sessionName()

setNodeID

public void setNodeID(long node)

setDeviceID

public void setDeviceID(long device)

setSessionID

public void setSessionID(long sessionID)

node

public long node()

session

public long session()

device

public long device()

startTime

public long startTime()

setStartTime

public void setStartTime(long start)

endTime

public long endTime()

setEndTime

public void setEndTime(long end)

formatRecord

public java.lang.String formatRecord(java.lang.String message)

formatRecord

public java.lang.String formatRecord(long timestamp,
                                     long nodeID,
                                     long deviceID,
                                     java.lang.String parameterName,
                                     int parameterID,
                                     java.lang.String value)

formatRecord

public java.lang.String formatRecord(long timestamp,
                                     long nodeID,
                                     long deviceID,
                                     java.lang.String parameterName,
                                     int parameterID,
                                     java.lang.String value,
                                     java.lang.String delimiter)


Copyright © 2003 MBARI.

The Monterey Bay Aquarium Research Institute (MBARI) provides this documentation and code "as is", with no warranty, express or implied, of its quality or consistency. It is provided without support and without obligation on the part of MBARI to assist in its use, correction, modification, or enhancement.