|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ConnectionFactory
Factory that creates connections.
| Method Summary | |
|---|---|
Connection |
createConnection(String targetIP,
int targetPort,
byte version,
int connectTimeout)
Create a connection according to the IP and port. |
Connection |
createConnection(String targetIP,
int targetPort,
int connectTimeout)
Create a connection according to the IP and port. |
Connection |
createConnection(Url url)
Create a connection use #BoltUrl |
void |
init(ConnectionEventHandler connectionEventHandler)
Initialize the factory. |
void |
registerUserProcessor(UserProcessor<?> processor)
Register User processor |
| Method Detail |
|---|
void init(ConnectionEventHandler connectionEventHandler)
Connection createConnection(Url url)
throws Exception
url -
Exception
Connection createConnection(String targetIP,
int targetPort,
int connectTimeout)
throws Exception
targetIP - targetPort - connectTimeout -
Exception
Connection createConnection(String targetIP,
int targetPort,
byte version,
int connectTimeout)
throws Exception
targetIP - targetPort - version - connectTimeout -
Exceptionvoid registerUserProcessor(UserProcessor<?> processor)
processor -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||