|
Project JXTA | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.jxta.impl.util.pipe.reliable.OutgoingMsgrAdaptor
public class OutgoingMsgrAdaptor
OutgoingMessengerAdaptor
| Constructor Summary | |
|---|---|
OutgoingMsgrAdaptor(Messenger msgr,
int timeout)
Constructor for the OutgoingMsgrAdaptor object |
|
| Method Summary | |
|---|---|
void |
close()
close the messenger (does not close the messenger) |
long |
getIdleTimeout()
Gets the idleTimeout of the OutgoingMsgrAdaptor NEVER. |
long |
getLastAccessed()
Gets the lastAccessed time of OutgoingMsgrAdaptor |
long |
getMaxRetryAge()
Gets the maxRetryAge attribute of the OutgoingMsgrAdaptor |
long |
getMinIdleReconnectTime()
Gets the minIdleReconnectTime of the OutgoingMsgrAdaptor (obsolete). |
boolean |
send(Message msg)
Sends a message |
void |
setLastAccessed(long time)
Sets the lastAccessed of OutgoingMsgrAdaptor |
void |
setTimeout(int timeout)
Sets the Timeout attribute. |
String |
toString()
returns last accessed time as a string |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public OutgoingMsgrAdaptor(Messenger msgr,
int timeout)
msgr - the messenger used to send messagestimeout - timeout in milliseconds| Method Detail |
|---|
public void setTimeout(int timeout)
timeout - The new soTimeout value
public void close()
throws IOException
close in interface OutgoingIOException - Description of the Exceptionpublic long getMinIdleReconnectTime()
getMinIdleReconnectTime in interface Outgoingpublic long getIdleTimeout()
getIdleTimeout in interface Outgoingpublic long getMaxRetryAge()
getMaxRetryAge in interface Outgoingpublic long getLastAccessed()
getLastAccessed in interface Outgoingpublic void setLastAccessed(long time)
setLastAccessed in interface Outgoingtime - The new lastAccessed in millisecondspublic String toString()
toString in interface OutgoingtoString in class Object
public boolean send(Message msg)
throws IOException
send in interface Outgoingmsg - message to send
IOException - if an io error occurs
|
JXTA J2SE | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||