Package twitter4j.v1
Interface ConnectionLifeCycleListener
public interface ConnectionLifeCycleListener
- Since:
- Twitter4J 2.1.7
-
Method Summary
Modifier and TypeMethodDescriptionvoid
called before thread gets cleaned upvoid
called after connection was establishedvoid
called after connection was disconnected
-
Method Details
-
onConnect
void onConnect()called after connection was established -
onDisconnect
void onDisconnect()called after connection was disconnected -
onCleanUp
void onCleanUp()called before thread gets cleaned up
-