com.sun.jini.mercury
Class StreamType

java.lang.Object
  extended by com.sun.jini.mercury.StreamType

 class StreamType
extends Object

Class that serves the purpose of an enumeration type. It's used in conjunction with StreamKey in order to distinguish among different LogStream objects that can potentially act upon the same underlying log file.

Since:
1.1
Author:
Sun Microsystems, Inc.

Field Summary
(package private) static StreamType CONTROL
          Control data stream enumeration.
(package private) static StreamType INPUT
          Event data input stream enumeration
(package private) static StreamType OUTPUT
          Event data output stream enumeration
 
Constructor Summary
private StreamType()
          Simple constructor.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OUTPUT

static final StreamType OUTPUT
Event data output stream enumeration


INPUT

static final StreamType INPUT
Event data input stream enumeration


CONTROL

static final StreamType CONTROL
Control data stream enumeration. Control data will not use separate input/output data streams and therefore no distinction is made.

Constructor Detail

StreamType

private StreamType()
Simple constructor. Private protection is used in order to prevent external instantiation of this class type.



Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.