public class SocketStreams extends Object implements Comparable<SocketStreams>
| コンストラクタと説明 |
|---|
SocketStreams(Socket socket,
OutputStream os,
InputStream is,
long socketTimeToLiveInMilli) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
int |
compareTo(SocketStreams other) |
long |
getExpiryTime() |
InputStream |
getInputStream() |
OutputStream |
getOutputStream() |
Socket |
getSocket() |
boolean |
isExpired() |
void |
setExpiryTime(long expiryTime) |
public SocketStreams(Socket socket, OutputStream os, InputStream is, long socketTimeToLiveInMilli)
public OutputStream getOutputStream()
public InputStream getInputStream()
public Socket getSocket()
public long getExpiryTime()
public void setExpiryTime(long expiryTime)
public boolean isExpired()
public int compareTo(SocketStreams other)
compareTo インタフェース内 Comparable<SocketStreams>Copyright © 2013–2016. All rights reserved.