|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SocketInterceptor
An interface that provides the ability to intercept the creation of sockets.
It can be registered from client via config.
For members see MemberSocketInterceptor
see SocketInterceptorConfig
| Method Summary | |
|---|---|
void |
init(Properties properties)
Initializes socket interceptor with properties which is set by Config.setProperty(String, String) |
void |
onConnect(Socket connectedSocket)
Called when a connection is established. |
| Method Detail |
|---|
void init(Properties properties)
Config.setProperty(String, String)
properties - from hazelcast config
void onConnect(Socket connectedSocket)
throws IOException
connectedSocket - related socket
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||