ewe.net
Class TestSocket

java.lang.Object
  extended byewe.data.DataObject
      extended byewe.data.LiveObject
          extended byewe.net.TestSocket
All Implemented Interfaces:
Comparable, Copyable, DataUnit, FieldListener, LiveData

public class TestSocket
extends LiveObject

This is used to test socket connection and data transfer on the local machine. To execute just do: ewe ewe.net.TestSocket


Field Summary
 int maxSize
           
 int minSize
           
 String progress
           
 int soLinger
           
 String state
           
 boolean tcpNoDelay
           
 
Constructor Summary
TestSocket()
           
 
Method Summary
 void addToPanel(CellPanel cp, Editor ed, int which)
          Override this to provide the user interface for editing the Object.
 void exit_action(Editor ed)
           
 void go_action(Editor ed)
           
 
Methods inherited from class ewe.data.LiveObject
action, action, addMeToPanel, addObjectToPanel, decode, decoded, decodeFields, enableEditorScrolling, encode, encoded, encodeFields, fieldChanged, fieldChanged, fieldEvent, getEditor, getEditorScroller, getIcon, getName, input, makeNewEditor, runAsApp, textDecode, textEncode
 
Methods inherited from class ewe.data.DataObject
_getSetField, appendAllFields, compareTo, copied, copyFrom, equals, getCopy, getDeclaredField, getDeclaredFieldValue, getDeclaredFieldValue, getFieldList, getFieldList, getMyFieldList, getNew
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, toString
 
Methods inherited from interface ewe.data.DataUnit
copyFrom, getNew
 
Methods inherited from interface ewe.util.Copyable
getCopy
 
Methods inherited from interface ewe.util.Comparable
compareTo
 

Field Detail

minSize

public int minSize

maxSize

public int maxSize

soLinger

public int soLinger

tcpNoDelay

public boolean tcpNoDelay

state

public String state

progress

public String progress
Constructor Detail

TestSocket

public TestSocket()
Method Detail

addToPanel

public void addToPanel(CellPanel cp,
                       Editor ed,
                       int which)
Description copied from class: LiveObject
Override this to provide the user interface for editing the Object. Add all your controls to the CellPanel cp, and your fields to the Editor ed. The options parameter may be used to specify a different Editor for the Object for different situations - it is the same parameter that is passed to the LiveData.getEditor(int options) call.

Overrides:
addToPanel in class LiveObject

exit_action

public void exit_action(Editor ed)

go_action

public void go_action(Editor ed)