|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.sf.infrared.agent.transport.SocketForwarder
Forwarder which uses a socket to send statistics to the remote infrared web application
| Constructor Summary | |
SocketForwarder(String hostName,
int portNo)
|
|
| Method Summary | |
void |
destroy()
This is to inform the forwarder that it has been destroyed, all cleanup activities need to be handled by this method. |
void |
forward(Statistics stats)
Forward the collected statistics to the central store |
void |
forward(Statistics[] stats)
Variant for handling collection of unmerged stats |
void |
init(boolean suspended)
This is to inform the forwarder to perform initialization. |
void |
resume()
Infrom the forwarder to resume operation |
void |
suspend()
Inform the forwarder to suspend operation |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SocketForwarder(String hostName,
int portNo)
| Method Detail |
public void init(boolean suspended)
Forwarder
init in interface Forwardersuspended - - whether the forwarded needs to be
initialized in a suspended state.public void forward(Statistics stats)
Forwarder
forward in interface Forwarderstats - public void forward(Statistics[] stats)
Forwarder
forward in interface Forwarderstats - public void suspend()
Forwarder
suspend in interface Forwarderpublic void resume()
Forwarder
resume in interface Forwarderpublic void destroy()
Forwarder
destroy in interface Forwarder
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||