Accessor for datagram transmission flag.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5795 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -163,6 +163,15 @@ public class PresentsSession
|
||||
return (conn == null) ? null : conn.getInetAddress();
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks whether the client has requested that datagram transmission be enabled.
|
||||
*/
|
||||
public boolean getTransmitDatagrams ()
|
||||
{
|
||||
Connection conn = getConnection();
|
||||
return conn != null && conn.getTransmitDatagrams();
|
||||
}
|
||||
|
||||
/**
|
||||
* Configures this session with a custom class loader that will be used when unserializing
|
||||
* classes from the network.
|
||||
|
||||
Reference in New Issue
Block a user