Pppizza1
Class Aprisocket

java.lang.Object
  |
  +--Pppizza1.Aprisocket
All Implemented Interfaces:
java.lang.Runnable

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


Constructor Summary
Aprisocket(java.lang.String ahost, int aport)
           
 
Method Summary
 java.net.Socket getSocket()
           
static java.net.Socket opensocket(java.lang.String ahost, int aport, int timeout)
           
 void run()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Aprisocket

public Aprisocket(java.lang.String ahost,
                  int aport)
Method Detail

opensocket

public static java.net.Socket opensocket(java.lang.String ahost,
                                         int aport,
                                         int timeout)

run

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

getSocket

public java.net.Socket getSocket()