Package naga.examples

Class Rot13Server


  • public class Rot13Server
    extends java.lang.Object
    Creates a Rot13Server that takes a line of text and returns the Rot13 version of the text.

    Run using java naga.examples.Rot13Server [port].

    Author:
    Christoffer Lerno
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String... args)
      Runs the rot13 server.
      • Methods inherited from class java.lang.Object

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

      • main

        public static void main​(java.lang.String... args)
        Runs the rot13 server.
        Parameters:
        args - command line arguments, assumed to be a 1 length string containing a port.