Class Telnet

  • All Implemented Interfaces:
    java.lang.Runnable

    public class Telnet
    extends java.lang.Object
    implements java.lang.Runnable
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static int defaultPort  
      (package private) static java.lang.String[] functions  
      private java.lang.String ip  
      private int port  
      private org.apache.felix.service.command.CommandProcessor processor  
      private boolean quit  
      private java.net.ServerSocket server  
      private java.lang.Thread thread  
    • Constructor Summary

      Constructors 
      Constructor Description
      Telnet​(org.apache.felix.service.command.CommandProcessor procesor)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void run()  
      private void start()  
      private void status()  
      private void stop()  
      void telnetd​(java.lang.String[] argv)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • functions

        static final java.lang.String[] functions
      • processor

        private final org.apache.felix.service.command.CommandProcessor processor
      • server

        private java.net.ServerSocket server
      • thread

        private java.lang.Thread thread
      • quit

        private boolean quit
      • port

        private int port
      • ip

        private java.lang.String ip
    • Constructor Detail

      • Telnet

        public Telnet​(org.apache.felix.service.command.CommandProcessor procesor)
    • Method Detail

      • telnetd

        public void telnetd​(java.lang.String[] argv)
                     throws java.io.IOException
        Throws:
        java.io.IOException
      • status

        private void status()
      • start

        private void start()
                    throws java.io.IOException
        Throws:
        java.io.IOException
      • stop

        private void stop()
                   throws java.io.IOException
        Throws:
        java.io.IOException
      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable