|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuk.ac.ic.doc.automed.p2p.communication.AbstractPeer
public class AbstractPeer
| Constructor Summary | |
|---|---|
AbstractPeer(RequestListener requestListener)
|
|
| Method Summary | |
|---|---|
int |
getPort()
|
java.io.InputStream |
getReplyForRequest(uk.ac.ic.doc.automed.p2p.messages.abstractlayer.AbstractMessage request,
java.net.InetAddress address,
int port)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractPeer(RequestListener requestListener)
throws java.io.IOException
java.io.IOException - if the peer cannot be created, due to communication
problems with the local P2PRegistry.| Method Detail |
|---|
public java.io.InputStream getReplyForRequest(uk.ac.ic.doc.automed.p2p.messages.abstractlayer.AbstractMessage request,
java.net.InetAddress address,
int port)
throws java.io.IOException
java.io.IOExceptionpublic int getPort()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||