|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RemoteSession
A remote session which allows remote capture of live packets or capture file manipulation. Use a CaptureServer to create a RemoteSession instance which is connected to the requested remote system. The RemoteSession object implements the CaptureFactory which is an abstract factory method for establishing live or file captures and performing operations on files. All these operations are preformed on the remote system transparentely. Notice that CaptureFactory is the same interface used to create local captures and manipulate local files, so this is a very powerful abstract which allows exact same functionality but accross the network.
| Nested Class Summary | |
|---|---|
static class |
RemoteSession.Option
|
static class |
RemoteSession.RemoteService
Lists all the avaiable remote services that can be opened, changed, enabled and disabled. |
static interface |
RemoteSession.RemoteSessionFactory
Remote session handler is an object that is called by the CaptureServer to handle an incomming RemoteSession connection. |
| Method Summary | |
|---|---|
void |
close()
|
java.util.List<MutableCaptureInterface> |
listInterfaces()
Gets a list of all the devices capable of doing live capture on this or remote system. |
| Methods inherited from interface jnetpcap.capture.CaptureFactory.Factory |
|---|
append, catFile, catFile, compactFile, convertFile, newFile, newFile, newFile, newInterface, newInterface, openFile, openFile, openLive, openLive, openLive, openLive, splitFile, splitFile, typeOfFile, validateFile |
| Method Detail |
|---|
java.util.List<MutableCaptureInterface> listInterfaces()
throws java.io.IOException
CaptureFactory.Factory
listInterfaces in interface CaptureFactory.Factoryjava.io.IOException - any IO errors
void close()
throws java.io.IOException
close in interface java.io.Closeablejava.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||