public class MessageXC extends Object
Modifier and Type | Field and Description |
---|---|
static TimeUnit |
DEFAULT_UNIT |
static long |
DEFAULT_WAIT |
Constructor and Description |
---|
MessageXC(InputStream inStream,
OutputStream outStream,
TransceiverListener listener,
TransceiverExceptionListener listenerE) |
MessageXC(InputStream inStream,
OutputStream outStream,
TransceiverListener listener,
TransceiverExceptionListener listenerE,
long wait,
TimeUnit unit) |
Modifier and Type | Method and Description |
---|---|
void |
addBottler(Bottler bottler) |
void |
close()
Shutdown this MessageXC, closing the I/O streams as well.
|
List<Bottler> |
getBottlers() |
String |
getHostname() |
long |
getId() |
long |
getLastProcessID() |
File |
getLocalFile(File remoteFile) |
String |
getLocalPath(String remotePath) |
File |
getRemoteFile(File localFile) |
String |
getRemotePath(String localPath) |
boolean |
join() |
boolean |
queueMessage(ClusterMessage message) |
boolean |
queueMessage(MessageType type) |
boolean |
queueMessage(MessageType type,
Serializable o) |
void |
setFileSystemTranslator(FileTranslator ft) |
void |
setHostname(String host) |
void |
setId(long id) |
void |
setListener(TransceiverListener listener) |
void |
unsetFileSystemTranslation() |
public static final long DEFAULT_WAIT
public static final TimeUnit DEFAULT_UNIT
public MessageXC(InputStream inStream, OutputStream outStream, TransceiverListener listener, TransceiverExceptionListener listenerE) throws IOException
IOException
public MessageXC(InputStream inStream, OutputStream outStream, TransceiverListener listener, TransceiverExceptionListener listenerE, long wait, TimeUnit unit) throws IOException
IOException
public long getLastProcessID()
public void close()
public void setListener(TransceiverListener listener)
public boolean join()
public boolean queueMessage(ClusterMessage message)
public boolean queueMessage(MessageType type)
public boolean queueMessage(MessageType type, Serializable o)
public long getId()
public void setId(long id)
public void setHostname(String host)
public String getHostname()
public void setFileSystemTranslator(FileTranslator ft)
public void unsetFileSystemTranslation()
public void addBottler(Bottler bottler)
Copyright © 2015–2021 Fiji. All rights reserved.