|
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.OutgoingPipeAdaptorSync
public class OutgoingPipeAdaptorSync
| Constructor Summary | |
|---|---|
OutgoingPipeAdaptorSync(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. |
boolean |
send(Message msg)
Send a message to the remote peer. |
boolean |
sendNb(Message msg)
|
void |
setLastAccessed(long time)
Set the time when this connection was last used. |
void |
setPipe(OutputPipe pipe)
|
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 OutgoingPipeAdaptorSync(OutputPipe pipe)
| Method Detail |
|---|
public boolean sendNb(Message msg)
throws IOException
IOException
public boolean send(Message msg)
throws IOException
Outgoing
send in interface OutgoingIOExceptionpublic void setPipe(OutputPipe pipe)
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 Object
|
JXTA J2SE | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||