jaugment2.ssh
Interface SSHProxyIF

All Known Implementing Classes:
SSHServiceProxy

public interface SSHProxyIF
extends java.rmi.Remote, net.jini.admin.Administrable

Interface all SSH-Service-implementations need to implement (so the representations know them)


Method Summary
 net.jini.core.lease.Lease addTerminalListener(net.jini.core.event.RemoteEventListener listener, java.rmi.MarshalledObject handback, int registerfor)
           
 int connect(java.lang.String login, byte[] password, java.lang.String host, int port)
           
 void disconnect(int id)
           
 java.lang.Object getAdmin()
          Returns an object that implements our administration-interfaces.
 void sendData(int id, java.lang.String data)
           
 

Method Detail

getAdmin

public java.lang.Object getAdmin()
                          throws java.rmi.RemoteException
Returns an object that implements our administration-interfaces.
Specified by:
getAdmin in interface net.jini.admin.Administrable
Throws:
java.rmi.RemoteException -  
See Also:
JoinAdmin

disconnect

public void disconnect(int id)
                throws java.io.IOException,
                       java.rmi.RemoteException

sendData

public void sendData(int id,
                     java.lang.String data)
              throws java.io.IOException,
                     java.rmi.RemoteException

connect

public int connect(java.lang.String login,
                   byte[] password,
                   java.lang.String host,
                   int port)
            throws java.io.IOException,
                   java.rmi.RemoteException

addTerminalListener

public net.jini.core.lease.Lease addTerminalListener(net.jini.core.event.RemoteEventListener listener,
                                                     java.rmi.MarshalledObject handback,
                                                     int registerfor)
                                              throws java.rmi.RemoteException,
                                                     net.jini.core.lease.LeaseDeniedException,
                                                     java.lang.IllegalStateException
Parameters:
registerfor - -1=for new/ended sessions >0 for output of this session