|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectNOS.io.NOSConnectionStats
public class NOSConnectionStats
| Field Summary | |
|---|---|
static long |
BYTES_RECIEVED
|
static long |
BYTES_SENT
|
| Constructor Summary | |
|---|---|
NOSConnectionStats(java.net.URLConnection con)
Creates a new NOSConnectionStats object. |
|
| Method Summary | |
|---|---|
static long |
getBytesRecieved()
Returns the number of bytes recieved via this connecion stats object. |
static long |
getBytesSent()
Returns the number of bytes sent via this connecion stats object. |
java.io.InputStream |
getInputStream()
Returns the InputStream. |
java.io.OutputStream |
getOutputStream()
Returns the OutputStream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static long BYTES_SENT
public static long BYTES_RECIEVED
| Constructor Detail |
|---|
public NOSConnectionStats(java.net.URLConnection con)
con - The URLConnection object which we will wrap| Method Detail |
|---|
public static long getBytesSent()
public static long getBytesRecieved()
public java.io.OutputStream getOutputStream()
throws java.io.IOException
java.io.IOException - If an error occurs.
public java.io.InputStream getInputStream()
throws java.io.IOException
java.io.IOException - If an error occurs.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||