|
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.OutgoingPipeAdaptor
public class OutgoingPipeAdaptor
| Constructor Summary | |
|---|---|
OutgoingPipeAdaptor(OutputPipe pipe)
|
|
| Method Summary | |
|---|---|
void |
close()
Close the connection. |
long |
getIdleTimeout()
Amount of time after which a connection is considered idle and may be scavenged. |
long |
getLastAccessed()
Get the time when this connection was last used. |
long |
getMaxRetryAge()
Amount if time during which retries may remain queued for retransmission. |
long |
getMinIdleReconnectTime()
Amount of a connection must be idle before a reconnection attempt will be considered. |
void |
run()
|
boolean |
send(Message msg)
Send a message to the remote peer. |
void |
setLastAccessed(long time)
Set the time when this connection was last used. |
String |
toString()
Return a human-friendly description of this connection. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public OutgoingPipeAdaptor(OutputPipe pipe)
| Method Detail |
|---|
public boolean send(Message msg)
throws IOException
Outgoing
send in interface OutgoingIOException
public void close()
throws IOException
Outgoing
close in interface OutgoingIOExceptionpublic long getMinIdleReconnectTime()
Outgoing
getMinIdleReconnectTime in interface Outgoingpublic long getIdleTimeout()
Outgoing
getIdleTimeout in interface Outgoingpublic long getMaxRetryAge()
Outgoing
getMaxRetryAge in interface Outgoingpublic long getLastAccessed()
Outgoing
getLastAccessed in interface Outgoingpublic void setLastAccessed(long time)
Outgoing
setLastAccessed in interface Outgoingpublic String toString()
Outgoing
toString in interface OutgoingtoString in class Objectpublic void run()
run in interface Runnable
|
JXTA J2SE | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||