|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
jdcm.DCMServer
public class DCMServer
When an application acts as an receiver SCP, it waits for incoming TCP/IP connections
at a certain port number and devotes a DCMServer thread to every incoming connection.
The service provided is implemented in the methods (C_Store, C_Find, C_Move, C_Get,
N_Action, N_Create, N_Delete, N_Get, N_Event_Report) defined by a sub-class that
override the DCMServer methods.
The general pattern for a service method is to extract information from the request, access external resources, and then populate the response based on that information.
DimseService,
A_Associate,
A_Release,
A_Abort| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
| Field Summary |
|---|
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
protected |
DCMServer(java.net.Socket socket)
|
| Method Summary | |
|---|---|
void |
A_Abort(A_Abort abort)
Override this methode to retrieve abort information |
void |
A_Associate(A_Associate associate)
Override this methode to retrieve association information |
void |
A_Release(A_Release release)
Override this methode to retrieve release information |
void |
C_Cancel(DimseService dimseService)
Override this methode to support DIMSE C-CANCEL requests |
void |
C_Echo(C_Echo cecho)
Override this methode to support DIMSE C-ECHO requests |
void |
C_Find(C_Find cfind)
Override this methode to support DIMSE C-FIND requests |
void |
C_Get(C_Get cget)
Override this methode to support DIMSE C-GET requests |
void |
C_Move(C_Move cmove)
Override this methode to support DIMSE C-MOVE requests |
void |
C_Store(C_Store cstore)
Override this methode to support DIMSE C-STORE requests |
void |
N_Action(N_Action naction)
Override this methode to support DIMSE N-ACTION requests |
void |
N_Create(N_Create ncreate)
Override this methode to support DIMSE N-CREATE requests |
void |
N_Delete(N_Delete ndelete)
Override this methode to support DIMSE N-DELETE requests |
void |
N_Event_Report(N_Event_Report neventReport)
Override this methode to support DIMSE N-EVENT-REPORT requests |
void |
N_Get(N_Get nget)
Override this methode to support DIMSE N-GET requests |
void |
N_Set(N_Set nset)
Override this methode to support DIMSE N-SET requests |
void |
run()
|
| Methods inherited from class java.lang.Thread |
|---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected DCMServer(java.net.Socket socket)
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
public void A_Associate(A_Associate associate)
throws java.io.IOException
java.io.IOException
public void A_Release(A_Release release)
throws java.io.IOException
java.io.IOException
public void A_Abort(A_Abort abort)
throws java.io.IOException
java.io.IOException
public void C_Echo(C_Echo cecho)
throws java.io.IOException
java.io.IOException
public void C_Store(C_Store cstore)
throws java.io.IOException
java.io.IOException
public void C_Move(C_Move cmove)
throws java.io.IOException
java.io.IOException
public void C_Find(C_Find cfind)
throws java.io.IOException
java.io.IOException
public void C_Get(C_Get cget)
throws java.io.IOException
java.io.IOException
public void C_Cancel(DimseService dimseService)
throws java.io.IOException
java.io.IOException
public void N_Event_Report(N_Event_Report neventReport)
throws java.io.IOException
java.io.IOException
public void N_Get(N_Get nget)
throws java.io.IOException
java.io.IOException
public void N_Set(N_Set nset)
throws java.io.IOException
java.io.IOException
public void N_Action(N_Action naction)
throws java.io.IOException
java.io.IOException
public void N_Create(N_Create ncreate)
throws java.io.IOException
java.io.IOException
public void N_Delete(N_Delete ndelete)
throws java.io.IOException
java.io.IOExceptionpublic void run()
run in interface java.lang.Runnablerun in class java.lang.Thread
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||