jaugment2.ssh
Class SSHServiceTextRepresentation

java.lang.Object
  |
  +--java.rmi.server.RemoteObject
        |
        +--java.rmi.server.RemoteServer
              |
              +--java.rmi.server.UnicastRemoteObject
                    |
                    +--jaugment2.UI.textUI.SimpleTextUIRepresentable
                          |
                          +--jaugment2.ssh.SSHServiceTextRepresentation

public class SSHServiceTextRepresentation
extends SimpleTextUIRepresentable
implements TextUIRepresentable, SimpleTextUIRepresentable.Proc, net.jini.core.event.RemoteEventListener

TextUI-representation od the SSH-Service

See Also:
Serialized Form

Inner Class Summary
static class SSHServiceTextRepresentation.Factory
          A factory for our UIDescriptor
 
Inner classes inherited from class jaugment2.UI.textUI.SimpleTextUIRepresentable
SimpleTextUIRepresentable.outputListenerEntry, SimpleTextUIRepresentable.Proc, SimpleTextUIRepresentable.SimpleProcessProc
 
Inner classes inherited from class jaugment2.UI.textUI.TextUIRepresentable
TextUIRepresentable.TextUIFactory, TextUIRepresentable.TextUIRepresentableRemoteEvent
 
Field Summary
private  int connID
           
private  net.jini.lease.LeaseRenewalManager lrm
           
private  java.lang.StringBuffer sentence
           
private  SSHProxyIF service
           
 
Fields inherited from class jaugment2.UI.textUI.SimpleTextUIRepresentable
landlord, myLeaseListener, outputListeners, proc
 
Fields inherited from class java.rmi.server.UnicastRemoteObject
csf, port, portFactoryParamTypes, portParamTypes, serialVersionUID, ssf
 
Fields inherited from class java.rmi.server.RemoteServer
log, logname, serialVersionUID
 
Fields inherited from class java.rmi.server.RemoteObject
ref, serialVersionUID
 
Constructor Summary
SSHServiceTextRepresentation(SSHProxyIF service)
           
 
Method Summary
(package private) static java.util.Set getServiceUIProperties()
          Gets a serviceui-draft-standart-compactible attribute-set of this representation
static net.jini.lookup.entry.UIDescriptor getUIDescriptor()
          Get a UIDescriptor as needed by the serviceui-draft-standart
 void input(java.lang.StringBuffer indata)
           
 void listeners()
           
 void noListeners()
           
 void notify(net.jini.core.event.RemoteEvent evt)
          React to events from our service.
private  void parseSentence(java.lang.String s)
           
 
Methods inherited from class jaugment2.UI.textUI.SimpleTextUIRepresentable
addOutputListener, ErroutputMe, ErroutputMe, outputMe, outputMe, setProc
 
Methods inherited from class java.rmi.server.UnicastRemoteObject
, clone, exportObject, exportObject, exportObject, exportObject, readObject, reexport, unexportObject
 
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
 
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub, writeObject
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

service

private SSHProxyIF service

lrm

private net.jini.lease.LeaseRenewalManager lrm

sentence

private java.lang.StringBuffer sentence

connID

private int connID
Constructor Detail

SSHServiceTextRepresentation

public SSHServiceTextRepresentation(SSHProxyIF service)
                             throws java.rmi.RemoteException
Method Detail

input

public void input(java.lang.StringBuffer indata)
Specified by:
input in interface TextUIRepresentable
Overrides:
input in class SimpleTextUIRepresentable

parseSentence

private void parseSentence(java.lang.String s)

noListeners

public void noListeners()
Specified by:
noListeners in interface SimpleTextUIRepresentable.Proc

listeners

public void listeners()
Specified by:
listeners in interface SimpleTextUIRepresentable.Proc

notify

public void notify(net.jini.core.event.RemoteEvent evt)
            throws net.jini.core.event.UnknownEventException,
                   java.rmi.RemoteException
React to events from our service.
Specified by:
notify in interface net.jini.core.event.RemoteEventListener

getUIDescriptor

public static net.jini.lookup.entry.UIDescriptor getUIDescriptor()
Get a UIDescriptor as needed by the serviceui-draft-standart

getServiceUIProperties

static java.util.Set getServiceUIProperties()
Gets a serviceui-draft-standart-compactible attribute-set of this representation