public final class RemoteReceiver extends Object implements IOReadableWritable
TaskManager.| Constructor and Description |
|---|
RemoteReceiver()
Default constructor for serialization/deserialization.
|
RemoteReceiver(InetSocketAddress connectionAddress,
int connectionIndex)
Constructs a new remote receiver object.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
InetSocketAddress |
getConnectionAddress()
Returns the address of the connection to the remote
TaskManager. |
int |
getConnectionIndex()
Returns the index of the connection to the remote
TaskManager. |
int |
hashCode() |
void |
read(DataInputView in) |
String |
toString() |
void |
write(DataOutputView out) |
public RemoteReceiver(InetSocketAddress connectionAddress, int connectionIndex)
connectionAddress - the address of the connection to the remote TaskManagerconnectionIndex - the index of the connection to the remote TaskManagerpublic RemoteReceiver()
public InetSocketAddress getConnectionAddress()
TaskManager.TaskManagerpublic int getConnectionIndex()
TaskManager.TaskManagerpublic void write(DataOutputView out) throws IOException
write in interface IOReadableWritableIOExceptionpublic void read(DataInputView in) throws IOException
read in interface IOReadableWritableIOExceptionCopyright © 2014 The Apache Software Foundation. All rights reserved.