|
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 Outgoing
IOException
public void close() throws IOException
Outgoing
close
in interface Outgoing
IOException
public long getMinIdleReconnectTime()
Outgoing
getMinIdleReconnectTime
in interface Outgoing
public long getIdleTimeout()
Outgoing
getIdleTimeout
in interface Outgoing
public long getMaxRetryAge()
Outgoing
getMaxRetryAge
in interface Outgoing
public long getLastAccessed()
Outgoing
getLastAccessed
in interface Outgoing
public void setLastAccessed(long time)
Outgoing
setLastAccessed
in interface Outgoing
public String toString()
Outgoing
toString
in interface Outgoing
toString
in class Object
public void run()
run
in interface Runnable
|
JXTA J2SE | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |