|
|||||||||
| Atavism Version 2018.1 | AGIS API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectatavism.server.network.ChannelUtil
public class ChannelUtil
| Field Summary | |
|---|---|
static int |
TIMEOUT
|
| Constructor Summary | |
|---|---|
ChannelUtil()
|
|
| Method Summary | |
|---|---|
static int |
fillBuffer(java.nio.ByteBuffer buffer,
java.nio.channels.SocketChannel socket)
|
static void |
patchLengthAndFlip(AOByteBuffer messageBuf)
|
static boolean |
writeBuffer(AOByteBuffer buffer,
java.nio.channels.SocketChannel socket)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int TIMEOUT
| Constructor Detail |
|---|
public ChannelUtil()
| Method Detail |
|---|
public static int fillBuffer(java.nio.ByteBuffer buffer,
java.nio.channels.SocketChannel socket)
throws java.io.IOException
java.io.IOException
public static boolean writeBuffer(AOByteBuffer buffer,
java.nio.channels.SocketChannel socket)
throws java.io.IOException
java.io.IOExceptionpublic static void patchLengthAndFlip(AOByteBuffer messageBuf)
|
Copyright © 2018 Dragonsan Studios Sp. z o.o. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||