Package org.nwolfhub.vkUser.longpoll
Class LongPoll
- java.lang.Object
-
- org.nwolfhub.vkUser.longpoll.LongPoll
-
public class LongPoll extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLongPoll.Type
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Update>getNonetypeUpdates()List<Update>getUpdates()List<Update>getUpdates(Long ts)List<Update>getUpdatesByType(String type)List<Update>getUpdatesByType(String type, Long ts)List<Update>getUpdatesByType(LongPoll.Type type, Long ts)
-
-
-
Constructor Detail
-
LongPoll
public LongPoll(Vk vk) throws IOException
- Throws:
IOException
-
-
Method Detail
-
getUpdates
public List<Update> getUpdates(Long ts) throws IOException
- Throws:
IOException
-
getUpdates
public List<Update> getUpdates() throws IOException
- Throws:
IOException
-
getNonetypeUpdates
public List<Update> getNonetypeUpdates() throws IOException
- Throws:
IOException
-
getUpdatesByType
public List<Update> getUpdatesByType(String type) throws IOException
- Throws:
IOException
-
getUpdatesByType
public List<Update> getUpdatesByType(String type, Long ts) throws IOException
- Throws:
IOException
-
getUpdatesByType
public List<Update> getUpdatesByType(LongPoll.Type type, Long ts) throws IOException
- Throws:
IOException
-
-