org.hudsonci.maven.eventspy.common
Class RemotingClient

java.lang.Object
  extended by org.hudsonci.maven.eventspy.common.RemotingClient
All Implemented Interfaces:
Closeable

public class RemotingClient
extends Object
implements Closeable

Starts a remoting channel over TCP/IP.

Since:
2.1.0
Author:
Jason Dillon

Constructor Summary
RemotingClient(int port)
           
 
Method Summary
 void close()
           
 hudson.remoting.Channel getChannel()
           
 boolean isOpen()
           
 void join()
           
static void main(String[] args)
          Command-line access.
 void open()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RemotingClient

public RemotingClient(int port)
Method Detail

getChannel

public hudson.remoting.Channel getChannel()

isOpen

public boolean isOpen()

open

public void open()
          throws IOException,
                 InterruptedException
Throws:
IOException
InterruptedException

join

public void join()
          throws InterruptedException
Throws:
InterruptedException

close

public void close()
           throws IOException
Specified by:
close in interface Closeable
Throws:
IOException

toString

public String toString()
Overrides:
toString in class Object

main

public static void main(String[] args)
                 throws Exception
Command-line access.

Throws:
Exception


Copyright © 2004-2011 Hudson. All Rights Reserved.