edu.utah.janos.nodeos
Class CommSpaceElement
java.lang.Object
|
+--edu.utah.janos.nodeos.CommSpaceElement
- public final class CommSpaceElement
- extends java.lang.Object
- implements java.lang.Cloneable
Element in the CommSpace for communication.
This is what gets written to the CommSpace
XXX does this need to exist or can I just stick
Objects in the CommSpace?
XXX because the val field is final, its impossible to
re-use a CommSpaceElement (i.e., for a different object...)
Could work around this by making the val field read-only
while the object was lodged in the CommSpace...
XXX these are shared between processes.... i.e., they leak (~2 words).
"Big Deal." -- Chris H.
XXX Should the get methods be copying their contents?
- Author:
- Janos Ministry of Development
Methods inherited from class java.lang.Object |
getClass,
notify,
notifyAll,
wait,
wait,
wait |
CommSpaceElement
public CommSpaceElement(boolean val)
CommSpaceElement
public CommSpaceElement(java.lang.Boolean val)
CommSpaceElement
public CommSpaceElement(int val)
CommSpaceElement
public CommSpaceElement(java.lang.Integer val)
CommSpaceElement
public CommSpaceElement(char[] val)
CommSpaceElement
public CommSpaceElement(byte[] val)
CommSpaceElement
public CommSpaceElement(java.lang.String val)
CommSpaceElement
public CommSpaceElement(InChannelHandle val)
CommSpaceElement
public CommSpaceElement(Address val)
CommSpaceElement
public CommSpaceElement(BufferHandle val)
CommSpaceElement
public CommSpaceElement(CommSpaceHandle val)
CommSpaceElement
public CommSpaceElement(CommQueuePusher val)
CommSpaceElement
public CommSpaceElement(CommMonitor val)
CommSpaceElement
public CommSpaceElement(CommHashtableHandle val)
type
public int type()
getInt
public int getInt()
getInteger
public java.lang.Integer getInteger()
getBool
public boolean getBool()
getBoolean
public java.lang.Boolean getBoolean()
getString
public java.lang.String getString()
getCharArray
public char[] getCharArray()
getCharArray
public void getCharArray(char[] outbuf,
int index)
getByteArray
public byte[] getByteArray()
getByteArray
public void getByteArray(byte[] outbuf,
int index)
getInChannelHandle
public InChannelHandle getInChannelHandle()
getAddress
public Address getAddress()
getBufferHandle
public BufferHandle getBufferHandle()
getCommSpaceHandle
public CommSpaceHandle getCommSpaceHandle()
getCommQueue
public CommQueuePusher getCommQueue()
getCommMonitor
public CommMonitor getCommMonitor()
getCommHashtableHandle
public CommHashtableHandle getCommHashtableHandle()
toString
public java.lang.String toString()
- Overrides:
- toString in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
- equals in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
- hashCode in class java.lang.Object
clone
public java.lang.Object clone()
This documentation is Copyright (C) 1998-2001 The University of Utah. All Rights Reserved. See the file LICENSE for distribution terms.
Documentation, software, and mailing list archives for Janos can be found at the Janos Project: http://www.cs.utah.edu/flux/janos/