com.ingenotech.hudson
Class UDPConnection

java.lang.Object
  extended by com.ingenotech.hudson.UDPConnection
All Implemented Interfaces:
Connection

public class UDPConnection
extends java.lang.Object
implements Connection


Field Summary
 
Fields inherited from interface com.ingenotech.hudson.Connection
NAME, PING, QUIT, RESULT
 
Constructor Summary
UDPConnection(java.net.InetAddress server, int port)
           
UDPConnection(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

UDPConnection

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

UDPConnection

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

open

public void open()
          throws java.io.IOException
Specified by:
open in interface Connection
Throws:
java.io.IOException

close

public void close()
           throws java.io.IOException
Specified by:
close in interface Connection
Throws:
java.io.IOException

getServerIdent

public java.lang.String getServerIdent()
Specified by:
getServerIdent in interface Connection

ping

public boolean ping()
             throws java.io.IOException
Specified by:
ping in interface Connection
Throws:
java.io.IOException

sendResult

public void sendResult(java.lang.String buildName,
                       hudson.model.Result result)
Specified by:
sendResult in interface Connection


Copyright © 2010. All Rights Reserved.