|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.wisc.ssec.mcidasv.data.McIdasXInfo
public class McIdasXInfo
Class McIdasXInfo Holds the state of the McIDAS-X session on the other end of the bridge
Field Summary | |
---|---|
private String |
hostString
|
private String |
keyString
|
private String |
portString
|
private String |
versionString
Conduit protocol info |
Constructor Summary | |
---|---|
McIdasXInfo()
Constructor |
|
McIdasXInfo(McIdasXInfo that)
Copy constructor |
|
McIdasXInfo(String host,
String port,
String key)
Constructor |
Method Summary | |
---|---|
DataInputStream |
getCommandInputStream(String commandLine)
Get the command request DataInputStream. |
DataInputStream |
getCommandInputStream(String commandLine,
int frame)
Get the command request DataInputStream. |
private String |
getCommandRequest(String commandLine)
Get the command request string. |
private String |
getCommandRequest(String commandLine,
int frame)
Get the command request string. |
int |
getCurrentFrame()
Get the current frame in McIDAS-X. |
DataInputStream |
getDataInputStream(Integer frame)
Get the data request DataInputStream. |
private String |
getDataRequest(Integer frame)
Get the data request string. |
DataInputStream |
getFileInputStream(String filename)
Get the file request DataInputStream. |
private String |
getFileRequest(String filename)
Get the file request string. |
List |
getFrameNumbers()
Get the list of frame numbers in McIDAS-X. |
private String |
getFrameRequest()
Get the frame request string. |
private String |
getFramesRequest()
Get the frames request string. |
DataInputStream |
getGIFInputStream(Integer frame)
Get the GIF request DataInputStream. |
private String |
getGIFRequest(Integer frame)
Get the GIF request string. |
DataInputStream |
getGraphicsInputStream(Integer frame)
Get the graphics request DataInputStream. |
private String |
getGraphicsRequest(Integer frame)
Get the graphics request string. |
String |
getHostString()
Get the hostString property. |
String |
getKeyString()
Get the keyString property. |
int |
getNumberOfFrames()
Get the number of frames in McIDAS-X. |
String |
getPortString()
Get the portString property. |
private DataInputStream |
getXInputStream(String newRequest)
Get a DataInputStream from a given request String. |
void |
setHostString(String newValue)
Set the hostString property. |
void |
setKeyString(String newValue)
Set the keyString property. |
void |
setPortString(String newValue)
Set the portString property. |
String |
toString()
Get a String representation of this object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private String versionString
private String hostString
private String portString
private String keyString
Constructor Detail |
---|
public McIdasXInfo()
public McIdasXInfo(McIdasXInfo that)
that
- The McIdasXInfo to copypublic McIdasXInfo(String host, String port, String key)
Method Detail |
---|
public String getHostString()
public String getPortString()
public String getKeyString()
public void setHostString(String newValue)
newValue
- The new vaue for the hostString property.public void setPortString(String newValue)
newValue
- The new vaue for the portString property.public void setKeyString(String newValue)
newValue
- The new vaue for the keyString property.private String getFrameRequest()
private String getFramesRequest()
private String getFileRequest(String filename)
public DataInputStream getFileInputStream(String filename)
private String getDataRequest(Integer frame)
public DataInputStream getDataInputStream(Integer frame)
private String getGraphicsRequest(Integer frame)
public DataInputStream getGraphicsInputStream(Integer frame)
private String getCommandRequest(String commandLine)
private String getCommandRequest(String commandLine, int frame)
public DataInputStream getCommandInputStream(String commandLine)
public DataInputStream getCommandInputStream(String commandLine, int frame)
private String getGIFRequest(Integer frame)
public DataInputStream getGIFInputStream(Integer frame)
public String toString()
toString
in class Object
private DataInputStream getXInputStream(String newRequest)
public int getCurrentFrame()
public int getNumberOfFrames()
public List getFrameNumbers()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |