|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface TcpEventReceiverMBean
| Method Summary | |
|---|---|
void |
addEventHandler(String name)
Adds a new event handler by its managed name. |
void |
destroy()
Invoked prior to garbage collection. |
Integer |
getPort()
Returns the where a listener is waiting to process new request. |
int |
getStatus()
The current status of the managed bean. |
void |
init()
Invoked prior to start |
void |
removeEventHandler(String name)
Removes an event handler. |
void |
setEventsPerConnection(Integer number)
The number of event records a new connection is allowed to send before the connection is terminated by the server. |
void |
setLogPrefix(String prefix)
The logging prefix to use |
void |
setPort(Integer port)
Sets the port where new requests will be handled. |
void |
start()
Starts the current managed bean. |
void |
stop()
Stops the current managed bean. |
| Method Detail |
|---|
void start()
void stop()
void init()
void destroy()
int getStatus()
Fiber
interface.
void setPort(Integer port)
port - The port to listen on.Integer getPort()
void addEventHandler(String name)
throws MalformedObjectNameException,
InstanceNotFoundException
name - The name of the handler to add.
MalformedObjectNameException - Thrown if the passed name is not a valid ObjectName.
InstanceNotFoundException - Thrown if no managed bean can be found that matches the name.
void removeEventHandler(String name)
throws MalformedObjectNameException,
InstanceNotFoundException
name - The name of the handler to remove.
MalformedObjectNameException - Thrown if the passed name is not a valid ObjectName.
InstanceNotFoundException - Thrown if no managed bean can be found that matches the name.void setLogPrefix(String prefix)
void setEventsPerConnection(Integer number)
number - The number of event records.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||