com.ingenotech.hudson
Class TCPConnection

java.lang.Object
  extended by com.ingenotech.hudson.TCPConnection

public class TCPConnection
extends java.lang.Object


Constructor Summary
TCPConnection(java.net.InetAddress server, int port)
           
TCPConnection(java.lang.String host, int port)
           
 
Method Summary
 void close()
           
 java.lang.String getServerIdent()
           
 void open()
           
 boolean ping()
           
 void sendResult(java.lang.String buildName, hudson.model.Result result)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TCPConnection

public TCPConnection(java.lang.String host,
                     int port)
              throws java.net.UnknownHostException
Throws:
java.net.UnknownHostException

TCPConnection

public TCPConnection(java.net.InetAddress server,
                     int port)
Method Detail

open

public void open()
          throws java.io.IOException
Throws:
java.io.IOException

close

public void close()
           throws java.io.IOException
Throws:
java.io.IOException

getServerIdent

public java.lang.String getServerIdent()

ping

public boolean ping()
             throws java.io.IOException
Throws:
java.io.IOException

sendResult

public void sendResult(java.lang.String buildName,
                       hudson.model.Result result)


Copyright © 2010. All Rights Reserved.