UniPRT SDK  v1.0.0.0
Channel< T > 模板类 参考

Public 成员函数

 Channel (int capacity)
 
void Disconnect ()
 
boolean Offer (T msgToDeposit)
 
T Poll (long timeout, TimeUnit unit) throws InterruptedException
 
T Read () throws InterruptedException
 
int Size ()
 
T Take () throws InterruptedException
 
boolean TryRead (T[] item)
 
boolean TryWrite (T message)
 
void Write (T message) throws InterruptedException