org.mbari.siam.operations.portal
Class PortalSession

java.lang.Object
  extended by org.mbari.siam.operations.portal.SessionParameter
      extended by org.mbari.siam.operations.portal.PortalSession

public class PortalSession
extends SessionParameter

PortalSession

Author:
Kent Headley

Field Summary
static int CLOSED
           
static int CONNECT_NODE
           
static int DEVICE_LIST
           
static int DISCONNECT_NODE
           
static int DISTRIBUTE_DATA
           
static int ERROR
           
static int EXCEPTION
           
static int GET_DATA
           
static int INITIALIZED
           
static int MEASUREMENT_DATA_BYTES
           
static int MEASUREMENT_PACKET_BYTES
           
static int MEASUREMENT_PACKETS
           
static int MESSAGE_DATA_BYTES
           
static int MESSAGE_PACKET_BYTES
           
static int MESSAGE_PACKETS
           
static int METADATA_DATA_BYTES
           
static int METADATA_PACKET_BYTES
           
static int METADATA_PACKETS
           
static int NODE_LIST
           
static int OPEN
           
static int PROCESS_NODE
           
static int PROCESS_PACKET_SET
           
static int PUBLISH_DATA
           
static int RECORD_TYPE
           
static int RESET_WDT
           
static int RETRIEVE_DISTRIBUTE_DATA
           
static int RX_PACKET_SET
           
static int SAVE_DATA
           
static int SEND_COMMANDS
           
static int SENSORDATA_DATA_BYTES
           
static int SENSORDATA_PACKET_BYTES
           
static int SENSORDATA_PACKETS
           
static int SESSION_SUMMARY
           
static int START_SESSION
           
static int SYNC_NTP
           
static int TOTAL_DATA_BYTES
           
static int TOTAL_PACKET_BYTES
           
static int TOTAL_PACKETS
           
static int UNSPECIFIED
           
static int WAKE_SUBNODE
           
 
Fields inherited from class org.mbari.siam.operations.portal.SessionParameter
NULL_DEVICE, NULL_KEY, NULL_NODE, NULL_PARAMETER, NULL_SESSION
 
Constructor Summary
PortalSession()
           
PortalSession(java.lang.String sessionName)
           
 
Method Summary
 long bytes()
           
 int devices()
           
 org.mbari.siam.operations.portal.PortalSession.spNodeData getNodeData(long node)
          get NodeData object with specified nodeID, create new one if it doesn't exist
 java.lang.Object getParameter(int key)
           
 long id()
           
static void main(java.lang.String[] args)
           
 int nodes()
           
 void notify(PortalEvent event)
           
 int packets()
           
 void setEnableDeviceDetail(boolean value)
           
 void setEnableNodeDetail(boolean value)
           
 int status()
           
 java.lang.String summarize()
           
 java.lang.String toString()
           
 
Methods inherited from class org.mbari.siam.operations.portal.SessionParameter
device, endTime, formatRecord, formatRecord, formatRecord, node, session, sessionName, setDeviceID, setEndTime, setNodeID, setSessionID, setSessionName, setStartTime, startTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TOTAL_PACKETS

public static final int TOTAL_PACKETS
See Also:
Constant Field Values

TOTAL_PACKET_BYTES

public static final int TOTAL_PACKET_BYTES
See Also:
Constant Field Values

TOTAL_DATA_BYTES

public static final int TOTAL_DATA_BYTES
See Also:
Constant Field Values

SENSORDATA_PACKETS

public static final int SENSORDATA_PACKETS
See Also:
Constant Field Values

SENSORDATA_PACKET_BYTES

public static final int SENSORDATA_PACKET_BYTES
See Also:
Constant Field Values

SENSORDATA_DATA_BYTES

public static final int SENSORDATA_DATA_BYTES
See Also:
Constant Field Values

METADATA_PACKETS

public static final int METADATA_PACKETS
See Also:
Constant Field Values

METADATA_PACKET_BYTES

public static final int METADATA_PACKET_BYTES
See Also:
Constant Field Values

METADATA_DATA_BYTES

public static final int METADATA_DATA_BYTES
See Also:
Constant Field Values

MESSAGE_PACKETS

public static final int MESSAGE_PACKETS
See Also:
Constant Field Values

MESSAGE_PACKET_BYTES

public static final int MESSAGE_PACKET_BYTES
See Also:
Constant Field Values

MESSAGE_DATA_BYTES

public static final int MESSAGE_DATA_BYTES
See Also:
Constant Field Values

MEASUREMENT_PACKETS

public static final int MEASUREMENT_PACKETS
See Also:
Constant Field Values

MEASUREMENT_PACKET_BYTES

public static final int MEASUREMENT_PACKET_BYTES
See Also:
Constant Field Values

MEASUREMENT_DATA_BYTES

public static final int MEASUREMENT_DATA_BYTES
See Also:
Constant Field Values

SESSION_SUMMARY

public static final int SESSION_SUMMARY
See Also:
Constant Field Values

CONNECT_NODE

public static final int CONNECT_NODE
See Also:
Constant Field Values

RESET_WDT

public static final int RESET_WDT
See Also:
Constant Field Values

SYNC_NTP

public static final int SYNC_NTP
See Also:
Constant Field Values

DEVICE_LIST

public static final int DEVICE_LIST
See Also:
Constant Field Values

GET_DATA

public static final int GET_DATA
See Also:
Constant Field Values

RX_PACKET_SET

public static final int RX_PACKET_SET
See Also:
Constant Field Values

SAVE_DATA

public static final int SAVE_DATA
See Also:
Constant Field Values

DISTRIBUTE_DATA

public static final int DISTRIBUTE_DATA
See Also:
Constant Field Values

PUBLISH_DATA

public static final int PUBLISH_DATA
See Also:
Constant Field Values

NODE_LIST

public static final int NODE_LIST
See Also:
Constant Field Values

DISCONNECT_NODE

public static final int DISCONNECT_NODE
See Also:
Constant Field Values

WAKE_SUBNODE

public static final int WAKE_SUBNODE
See Also:
Constant Field Values

EXCEPTION

public static final int EXCEPTION
See Also:
Constant Field Values

ERROR

public static final int ERROR
See Also:
Constant Field Values

RECORD_TYPE

public static final int RECORD_TYPE
See Also:
Constant Field Values

START_SESSION

public static final int START_SESSION
See Also:
Constant Field Values

SEND_COMMANDS

public static final int SEND_COMMANDS
See Also:
Constant Field Values

RETRIEVE_DISTRIBUTE_DATA

public static final int RETRIEVE_DISTRIBUTE_DATA
See Also:
Constant Field Values

PROCESS_NODE

public static final int PROCESS_NODE
See Also:
Constant Field Values

PROCESS_PACKET_SET

public static final int PROCESS_PACKET_SET
See Also:
Constant Field Values

UNSPECIFIED

public static final int UNSPECIFIED
See Also:
Constant Field Values

INITIALIZED

public static final int INITIALIZED
See Also:
Constant Field Values

OPEN

public static final int OPEN
See Also:
Constant Field Values

CLOSED

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

PortalSession

public PortalSession(java.lang.String sessionName)

PortalSession

public PortalSession()
Method Detail

status

public int status()

id

public long id()

getNodeData

public org.mbari.siam.operations.portal.PortalSession.spNodeData getNodeData(long node)
get NodeData object with specified nodeID, create new one if it doesn't exist


notify

public void notify(PortalEvent event)
Specified by:
notify in class SessionParameter

getParameter

public java.lang.Object getParameter(int key)
Specified by:
getParameter in class SessionParameter

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

devices

public int devices()

nodes

public int nodes()

packets

public int packets()

bytes

public long bytes()

setEnableNodeDetail

public void setEnableNodeDetail(boolean value)

setEnableDeviceDetail

public void setEnableDeviceDetail(boolean value)

summarize

public java.lang.String summarize()
Specified by:
summarize in class SessionParameter

main

public static void main(java.lang.String[] args)


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.