groovy.ui
Class GroovySocketServer

java.lang.Object
  extended by groovy.ui.GroovySocketServer
All Implemented Interfaces:
java.lang.Runnable

public class GroovySocketServer
extends java.lang.Object
implements java.lang.Runnable

Simple server that executes supplied script against a socket

Version:
$Id: GroovySocketServer.java 7252 2007-08-15 22:17:24Z user57 $
Author:
Jeremy Rayner

Nested Class Summary
(package private)  class GroovySocketServer.GroovyClientConnection
           
 
Field Summary
private  boolean autoOutput
           
private  GroovyShell groovy
           
private  boolean isScriptFile
           
private  java.lang.String scriptFilenameOrText
           
private  java.net.URL url
           
 
Constructor Summary
GroovySocketServer(GroovyShell groovy, boolean isScriptFile, java.lang.String scriptFilenameOrText, boolean autoOutput, int port)
           
 
Method Summary
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

url

private java.net.URL url

groovy

private GroovyShell groovy

isScriptFile

private boolean isScriptFile

scriptFilenameOrText

private java.lang.String scriptFilenameOrText

autoOutput

private boolean autoOutput
Constructor Detail

GroovySocketServer

public GroovySocketServer(GroovyShell groovy,
                          boolean isScriptFile,
                          java.lang.String scriptFilenameOrText,
                          boolean autoOutput,
                          int port)
Method Detail

run

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


Copyright © ${year} The Codehaus. All Rights Reserved.