|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IOSImage
The IOSImage provides generic interface for a system image.
A system image contains a file subsystem and file resource tree. The root
object of the file resource tree can be obtained using getRoot()
method.
This interface also provides methods to connect to the system, get IP
address, etc.
| Field Summary | |
|---|---|
static String |
COPY_RIGHT
|
| Method Summary | |
|---|---|
void |
connect()
Connects to the remote file subsystem. |
boolean |
equals(Object object)
Tests this system image for equality with the given object. |
IRemoteCommand |
getCommandObject()
Gets a remote command object to execute a command on the remote system. |
String |
getIpAddress()
Returns the IP address or host name of this system. |
String |
getName()
Returns the display name of this system image. |
IResourceRoot |
getRoot()
Returns the root object of the file resource tree of the file subsystem. |
String |
getUserId()
Returns the user id of the user who is currently connected to this system image. |
int |
hashCode()
Returns a hash code value for the object. |
boolean |
isConnected()
Determines whether the remote file subsystem of this system image is connected. |
void |
setRoot(IResourceRoot value)
Sets the root object of the file resource tree of the file subsystem. |
| Field Detail |
|---|
static final String COPY_RIGHT
| Method Detail |
|---|
IResourceRoot getRoot()
setRoot(IResourceRoot)void setRoot(IResourceRoot value)
value - the resource root objectgetRoot()String getName()
setName(String)String getIpAddress()
setIpAddress(String)String getUserId()
NULL if the system image is not
connectedboolean equals(Object object)
equals in class Objectobject - the other object
true if objects are equal, false otherwiseint hashCode()
hashCode in class ObjectObject.hashCode()boolean isConnected()
true if connected; false otherwise
void connect()
throws Exception
Exception - if any exception occurred when connecting.IRemoteCommand getCommandObject()
null if it is not
supported by the system.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||