|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface AssociationAcceptor
To accept Associations from remote peers.
before start an acceptor with the bind methods, you need to configure it and set an AssociateRequestHandler and an AssociationListener
the AssociateRequestHandler is used to handle associate request from remote peer, construct an appropriate response (depending of supported sop classes).
the AssociationListener is used to handle all events coming from an open association.
| Method Summary | |
|---|---|
void |
bind(int port)
Accept Associations from remote peers |
AssociationAcceptorConfiguration |
getConfiguration()
return the current configuration |
void |
setConfiguration(AssociationAcceptorConfiguration aConfiguration)
set the configuration to use |
void |
unBind(int aPort)
|
| Methods inherited from interface org.dicom4j.network.association.support.AssociationService |
|---|
abortAssociations, count, getAssociations |
| Method Detail |
|---|
void bind(int port)
throws Exception
Associations from remote peers
port - the port to listen on
Exception - if errors occursAssociationAcceptorConfiguration getConfiguration()
void setConfiguration(AssociationAcceptorConfiguration aConfiguration)
aConfiguration -
void unBind(int aPort)
throws Exception
Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||