org.apache.hadoop.oncrpc
Class SimpleTcpClient
java.lang.Object
org.apache.hadoop.oncrpc.SimpleTcpClient
- Direct Known Subclasses:
- RegistrationClient
public class SimpleTcpClient
- extends Object
A simple TCP based RPC client which just sends a request to a server.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
host
protected final String host
port
protected final int port
request
protected final XDR request
pipelineFactory
protected org.jboss.netty.channel.ChannelPipelineFactory pipelineFactory
oneShot
protected final boolean oneShot
SimpleTcpClient
public SimpleTcpClient(String host,
int port,
XDR request)
SimpleTcpClient
public SimpleTcpClient(String host,
int port,
XDR request,
Boolean oneShot)
setPipelineFactory
protected org.jboss.netty.channel.ChannelPipelineFactory setPipelineFactory()
run
public void run()
Copyright © 2009 The Apache Software Foundation