org.hudsonci.maven.eventspy.common
Class RemotingClient
java.lang.Object
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
RemotingClient
public RemotingClient(int port)
getChannel
public 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.