Package edu.wisc.ssec.mcidasv.data
Class McIdasXInfo
java.lang.Object
edu.wisc.ssec.mcidasv.data.McIdasXInfo
Class McIdasXInfo Holds the state of the McIDAS-X session
on the other end of the bridge
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructorMcIdasXInfo
(McIdasXInfo that) Copy constructorMcIdasXInfo
(String host, String port, String key) Constructor -
Method Summary
Modifier and TypeMethodDescriptiongetCommandInputStream
(String commandLine) Get the command request 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
Get the current frame in McIDAS-X.getDataInputStream
(Integer frame) Get the data request DataInputStream.private String
getDataRequest
(Integer frame) Get the data request string.getFileInputStream
(String filename) Get the file request DataInputStream.private String
getFileRequest
(String filename) Get the file request string.Get the list of frame numbers in McIDAS-X.private String
Get the frame request string.private String
Get the frames request string.getGIFInputStream
(Integer frame) Get the GIF request DataInputStream.private String
getGIFRequest
(Integer frame) Get the GIF request string.getGraphicsInputStream
(Integer frame) Get the graphics request DataInputStream.private String
getGraphicsRequest
(Integer frame) Get the graphics request string.Get the hostString property.Get the keyString property.int
Get the number of frames in McIDAS-X.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.toString()
Get a String representation of this object
-
Field Details
-
versionString
Conduit protocol info -
hostString
-
portString
-
keyString
-
-
Constructor Details
-
McIdasXInfo
public McIdasXInfo()Constructor -
McIdasXInfo
Copy constructor- Parameters:
that
- The McIdasXInfo to copy
-
McIdasXInfo
Constructor
-
-
Method Details
-
getHostString
Get the hostString property.- Returns:
- The hostString property.
-
getPortString
Get the portString property.- Returns:
- The portString property.
-
getKeyString
Get the keyString property.- Returns:
- The keyString property.
-
setHostString
Set the hostString property.- Parameters:
newValue
- The new vaue for the hostString property.
-
setPortString
Set the portString property.- Parameters:
newValue
- The new vaue for the portString property.
-
setKeyString
Set the keyString property.- Parameters:
newValue
- The new vaue for the keyString property.
-
getFrameRequest
Get the frame request string.- Returns:
- The frame request string.
-
getFramesRequest
Get the frames request string.- Returns:
- The frames request string.
-
getFileRequest
Get the file request string.- Returns:
- The file request string.
-
getFileInputStream
Get the file request DataInputStream.- Returns:
- The file request DataInputStream.
-
getDataRequest
Get the data request string.- Returns:
- The data request string.
-
getDataInputStream
Get the data request DataInputStream.- Returns:
- The data request DataInputStream.
-
getGraphicsRequest
Get the graphics request string.- Returns:
- The graphics request string.
-
getGraphicsInputStream
Get the graphics request DataInputStream.- Returns:
- The graphics request DataInputStream.
-
getCommandRequest
Get the command request string.- Returns:
- The command request string.
-
getCommandRequest
Get the command request string.- Returns:
- The command request string.
-
getCommandInputStream
Get the command request DataInputStream.- Returns:
- The command request DataInputStream.
-
getCommandInputStream
Get the command request DataInputStream.- Returns:
- The command request DataInputStream.
-
getGIFRequest
Get the GIF request string.- Returns:
- The GIF request string.
-
getGIFInputStream
Get the GIF request DataInputStream.- Returns:
- The GIF request DataInputStream.
-
toString
Get a String representation of this object -
getXInputStream
Get a DataInputStream from a given request String.- Returns:
- a DataInputStream
-
getCurrentFrame
Get the current frame in McIDAS-X.- Returns:
- The current frame in McIDAS-X.
-
getNumberOfFrames
Get the number of frames in McIDAS-X.- Returns:
- The number of frames in McIDAS-X.
-
getFrameNumbers
Get the list of frame numbers in McIDAS-X.- Returns:
- The list of frame numbers in McIDAS-X.
-